pops

纯JavaScript编写的弹窗,内置方法confirm、alert、prompt、loading、iframe、isPhone、tooltip、folder、panel、rightClickMenu。

Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.

  • v0.0.1.20251021093647 21.10.2025

    ✨ feat: 为所有svg添加data-type属性

  • v0.0.1.20251021080415 21.10.2025

    🦄 refactor: 调整部分返回值

    🐞 fix: 修复panel内input和清空图标样式的问题

  • v0.0.1.20251017115059 17.10.2025

    feat(pops): .rightClickMenu新增配置项posiition、limitPositionXInView、limitPositionYInView

    当调用.rightClickMenu时新增返回结果PopsContextMenu用于操作元素

  • v0.0.1.20250930135707 30.09.2025

    📃 docs: 移除.panel的attributes中数组格式

    🎈 perf: 优化处理className

    🐞 fix: 修复.panel的bottomContentConfig存在默认配置的问题

  • v0.0.1.20250929163056 29.09.2025

    ✨ feat: pops.panel新增底部配置

  • v0.0.1.20250928163544 28.09.2025

    🔧 build: 新增打包.min.js

  • v0.0.1.20250923102051 23.09.2025

    🐞 fix: 修复事件取消监听失败的情况

  • v0.0.1.20250921100053 21.09.2025

    🌈 style: 新增prettier和eslint

    🌈 style: 新增prettier和eslint

  • v0.0.1.20250909064826 09.09.2025

    ✨ feat: .panel新增二级菜单切换动画

  • v0.0.1.20250904115546 04.09.2025

    🦄 refactor: 重构searchSuggestion

    ✨ feat: 移除searchSuggestion的配置项.text

  • v0.0.1.20250902040855 02.09.2025

    🐞 fix: 修复searchSuggestion的自定义style不生效的问题

  • v0.0.1.20250830150113 30.08.2025

    🎈 perf: 优化folder的功能模块

  • v0.0.1.20250824025846 24.08.2025

    🐞 fix: 修复window的部分属性this指向绑定

  • v0.0.1.20250820162259 20.08.2025

    🎈 perf: 优化searchSuggestion

    🐞 fix: 修复右键菜单的二级菜单在移动端的显示错误问题

  • v0.0.1.20250817150221 17.08.2025

    🐞 fix: 修复button类型为violet时不显示对应的颜色的问题

    feat: 去除当searchSuggestion的搜索到的项为空时鼠标悬浮的样式

  • v0.0.1.20250817080428 17.08.2025

    ✨ feat: .panel新增配置项useScaleAnimation

  • v0.0.1.20250811114209 11.08.2025

    🌈 style: 调整panel的css

  • v0.0.1.20250805124234 05.08.2025

    feat(panel): 优化输入框样式和交互

    • 更新版本号至 2025.8.5
    • 优化输入框默认样式和焦点状态样式
    • 添加清空图标相关样式和交互
    • 调整输入框后缀样式
    • 优化 SVG 图标
  • v0.0.1.20250731104514 31.07.2025

    refactor(pops): 优化代码结构和格式

    • 调整代码的缩进和换行,提高可读性
    • 移除冗余的空行和空格,精简代码
    • 统一代码风格,如使用模板字符串等
    • 优化部分变量和函数的命名,提高可理解性
  • v0.0.1.20250729070938 29.07.2025

    refactor(components): 优化弹窗尺寸并适应不同屏幕

    • 更新了多个组件的宽度和高度,使其在小屏幕上自适应
    • 调整了 Pops 版本号到 2025.7.29
    • 优化了面板组件的样式,包括深菜单导航项的样式
  • v0.0.1.20250726123838 26.07.2025

    style(panel): 优化代码文本的排版

    • 在 .pops-panel-item-left-desc-text:has(code) 中添加 flex-wrap: wrap
  • v0.0.1.20250718083906 18.07.2025

    🦄 refactor: 修改button的type属性为data-type

  • v0.0.1.20250716065210 16.07.2025

    fix(form): 修复表单组件的禁用逻辑

    • 更新了多个表单组件(包括文本输入、复选框、选择框等)的禁用逻辑
    • 支持禁用配置为函数,增加了灵活性
    • 优化了代码结构,提高了可读性和可维护性

    feat: Update Pops library to version 2.2.4

    • Added new CSS class names for common styles in CommonCSSClassName.
    • Introduced GlobalConfig for managing global properties of popups.
    • Refactored component imports to use the new config structure.
    • Enhanced Pops class to include additional icon SVGs and instData configurations.
    • Improved DOM utility functions to handle undefined or null elements gracefully.
    • Updated CSS styles for disabled text and other common classes.
    • Fixed various type definitions for better type safety and clarity.
    • Incremented version number to 2.2.4 in package.json and package-lock.json.

    feat: update PopsPanelSelectMultiple to use a simpler disabled function signature

    fix: increment version to 2.2.5

    feat: enhance PopsPanelConfig with new button component and disable attributes for select elements

    refactor: improve drag handling logic in PanelHandlerComponents for better disable functionality

    style: update CSS for disabled states across various components for consistent styling

    fix: adjust PopsPanelSelectMultiple to properly handle disabled state and interactions

  • v0.0.1.20250713130721 13.07.2025

    🌈 style: 重命名函数名

  • v0.0.1.20250713042444 13.07.2025

    🦄 refactor: 重命名部分函数名

  • v0.0.1.20250713020805 13.07.2025

    🐞 fix: 修复.panel内容无法滚动的问题

  • v0.0.1.20250712065057 12.07.2025

    🌈 style: 调整样式

  • v0.0.1.20250711094540 11.07.2025

    🐞 fix: 修复dev模式下的pops引用问题

  • v0.0.1.20250711083333 11.07.2025

    🌈 style: 调整.panel的部分样式

  • v0.0.1.20250709175110 09.07.2025

    🐞 fix: 修复样式

  • v0.0.1.20250709171000 09.07.2025

    🐞 fix: 修复样式问题

  • v0.0.1.20250708172745 08.07.2025

    ✨ feat: 优化暗黑样式

    • .panel新增配置项isBottom、disableAsideItemHoverCSS、clickFirstCallback
    • 修复attributes的值为数组时不生效的问题
    • 适配部分属性为函数
  • v0.0.1.20250707092159 07.07.2025

    ✨ feat: 适配暗黑模式

  • v0.0.1.20250701032250 01.07.2025

    🦄 refactor: 重命名文件、函数

  • v0.0.1.20250626160339 26.06.2025

    release: 2.1.4

    • .panel新增addEventListener和removeEventListener
    • 更新依赖
  • v0.0.1.20250618090747 18.06.2025

    🐞 fix: 修复.folder的文件列表导航的换行样式问题

  • v0.0.1.20250612153914 12.06.2025

    🌈 style: 调整样式

  • v0.0.1.20250610083713 10.06.2025

    🐞 fix: 修复folder多文件样式错位问题

  • v0.0.1.20250606151545 06.06.2025

    ✨ feat: rightClickMenu新增selectorTarget

    ✨ feat: 新增右键菜单在最右边的所处位置

    • 新增配置chileMenuLeftOrRightDistance、childMenuTopOrBottomDistance
  • v0.0.1.20250605101222 05.06.2025

    feat: 新增css & 解决依赖循环的问题

  • v0.0.1.20250529065103 29.05.2025

    feat: pops.tooltip新增配置isDiffContent

    feat: 优化pops.panel的multiple的动态更新项

  • v0.0.1.20250526065252 26.05.2025

    feat: pops.tooltip的position新增follow

    • 使用worker-time
  • v0.0.1.20250526014255 26.05.2025

    feat: 优化弹出实现函数和ts提示

  • v0.0.1.20250513031746 13.05.2025

    fix: 修复loading的mask未正常覆盖

    • 为.show、.close、.hide新增异步返回

    fix: 修复loading下的anim的position问题

    feat: .loading新增isAbsolute参数

  • v0.0.1.20250501142806 01.05.2025

    fix: 修复html存在空白字符串的情况

  • v0.0.1.20250303022824 03.03.2025

    ✨ feat: 新增对安全的处理

  • v0.0.1.20250302170702 02.03.2025

    🐞 fix: 修复insertAdjacentHTML

  • v0.0.1.20250302163729 02.03.2025

    ✨ feat: 新增CSP下处理innerHTML

  • v0.0.1.20250101074428 01.01.2025

    🐞 fix: 修复panel的多选的disabled

  • v0.0.1.20241219101809 19.12.2024

    🐞 fix: 修复ToolTip的取消绑定事件失败

Show all script versions