@accelint/design-toolkit 7.0.1 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/catalog-info.yaml +12 -6
- package/dist/components/accordion/context.d.ts +0 -2
- package/dist/components/accordion/group.d.ts +0 -2
- package/dist/components/accordion/group.js +1 -1
- package/dist/components/accordion/group.js.map +1 -1
- package/dist/components/accordion/header.d.ts +0 -2
- package/dist/components/accordion/header.js +1 -1
- package/dist/components/accordion/header.js.map +1 -1
- package/dist/components/accordion/index.d.ts +0 -2
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/accordion/index.js.map +1 -1
- package/dist/components/accordion/panel.d.ts +0 -2
- package/dist/components/accordion/panel.js +1 -1
- package/dist/components/accordion/panel.js.map +1 -1
- package/dist/components/accordion/styles.module.css +65 -0
- package/dist/components/accordion/trigger.d.ts +0 -2
- package/dist/components/accordion/trigger.js +1 -1
- package/dist/components/accordion/trigger.js.map +1 -1
- package/dist/components/accordion/types.d.ts +5 -5
- package/dist/components/action-bar/index.d.ts +1 -1
- package/dist/components/action-bar/index.js +1 -1
- package/dist/components/action-bar/index.js.map +1 -1
- package/dist/components/action-bar/styles.module.css +27 -0
- package/dist/components/action-bar/types.d.ts +3 -1
- package/dist/components/avatar/context.d.ts +0 -3
- package/dist/components/avatar/index.d.ts +0 -3
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/index.js.map +1 -1
- package/dist/components/avatar/styles.module.css +45 -0
- package/dist/components/avatar/types.d.ts +1 -4
- package/dist/components/badge/context.d.ts +0 -2
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/badge/index.js.map +1 -1
- package/dist/components/badge/styles.module.css +67 -0
- package/dist/components/badge/types.d.ts +3 -4
- package/dist/components/breadcrumbs/index.js +1 -1
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/breadcrumbs/item.js +1 -1
- package/dist/components/breadcrumbs/item.js.map +1 -1
- package/dist/components/breadcrumbs/styles.module.css +41 -0
- package/dist/components/button/context.d.ts +0 -3
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/button/link.d.ts +0 -3
- package/dist/components/button/link.js +1 -1
- package/dist/components/button/link.js.map +1 -1
- package/dist/components/button/styles.module.css +917 -0
- package/dist/components/button/toggle.d.ts +0 -3
- package/dist/components/button/toggle.js +1 -1
- package/dist/components/button/toggle.js.map +1 -1
- package/dist/components/button/types.d.ts +6 -6
- package/dist/components/checkbox/group.js +1 -1
- package/dist/components/checkbox/group.js.map +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/checkbox/styles.module.css +111 -0
- package/dist/components/chip/context.d.ts +3 -6
- package/dist/components/chip/context.js +1 -1
- package/dist/components/chip/context.js.map +1 -1
- package/dist/components/chip/deletable.d.ts +0 -3
- package/dist/components/chip/deletable.js +1 -1
- package/dist/components/chip/deletable.js.map +1 -1
- package/dist/components/chip/index.d.ts +0 -3
- package/dist/components/chip/index.js +1 -1
- package/dist/components/chip/index.js.map +1 -1
- package/dist/components/chip/list.d.ts +0 -3
- package/dist/components/chip/list.js +1 -1
- package/dist/components/chip/list.js.map +1 -1
- package/dist/components/chip/selectable.d.ts +0 -3
- package/dist/components/chip/selectable.js +1 -1
- package/dist/components/chip/selectable.js.map +1 -1
- package/dist/components/chip/styles.module.css +129 -0
- package/dist/components/chip/types.d.ts +7 -8
- package/dist/components/classification-badge/context.d.ts +1 -2
- package/dist/components/classification-badge/index.d.ts +1 -2
- package/dist/components/classification-badge/index.js +1 -1
- package/dist/components/classification-badge/index.js.map +1 -1
- package/dist/components/classification-badge/styles.module.css +63 -0
- package/dist/components/classification-badge/types.d.ts +3 -5
- package/dist/components/classification-banner/context.d.ts +0 -2
- package/dist/components/classification-banner/index.d.ts +0 -2
- package/dist/components/classification-banner/index.js +1 -1
- package/dist/components/classification-banner/index.js.map +1 -1
- package/dist/components/classification-banner/styles.module.css +55 -0
- package/dist/components/classification-banner/types.d.ts +4 -5
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/color-picker/index.js.map +1 -1
- package/dist/components/color-picker/styles.module.css +43 -0
- package/dist/components/combobox-field/context.d.ts +0 -3
- package/dist/components/combobox-field/index.d.ts +0 -3
- package/dist/components/combobox-field/index.js +1 -1
- package/dist/components/combobox-field/index.js.map +1 -1
- package/dist/components/combobox-field/styles.module.css +101 -0
- package/dist/components/combobox-field/types.d.ts +0 -3
- package/dist/components/coordinate-field/context.d.ts +77 -0
- package/dist/components/coordinate-field/context.js +2 -0
- package/dist/components/coordinate-field/context.js.map +1 -0
- package/dist/components/coordinate-field/coordinate-utils.d.ts +282 -0
- package/dist/components/coordinate-field/coordinate-utils.js +2 -0
- package/dist/components/coordinate-field/coordinate-utils.js.map +1 -0
- package/dist/components/coordinate-field/index.d.ts +66 -0
- package/dist/components/coordinate-field/index.js +4 -0
- package/dist/components/coordinate-field/index.js.map +1 -0
- package/dist/components/coordinate-field/segment-configs.d.ts +163 -0
- package/dist/components/coordinate-field/segment-configs.js +2 -0
- package/dist/components/coordinate-field/segment-configs.js.map +1 -0
- package/dist/components/coordinate-field/segment.d.ts +39 -0
- package/dist/components/coordinate-field/segment.js +4 -0
- package/dist/components/coordinate-field/segment.js.map +1 -0
- package/dist/components/coordinate-field/styles.module.css +129 -0
- package/dist/components/coordinate-field/types.d.ts +194 -0
- package/dist/components/coordinate-field/types.js +2 -0
- package/dist/components/coordinate-field/types.js.map +1 -0
- package/dist/components/coordinate-field/width-utils.d.ts +29 -0
- package/dist/components/coordinate-field/width-utils.js +2 -0
- package/dist/components/coordinate-field/width-utils.js.map +1 -0
- package/dist/components/date-field/index.d.ts +0 -2
- package/dist/components/date-field/index.js +1 -1
- package/dist/components/date-field/index.js.map +1 -1
- package/dist/components/date-field/styles.module.css +103 -0
- package/dist/components/date-field/types.d.ts +1 -3
- package/dist/components/details-list/context.d.ts +0 -2
- package/dist/components/details-list/index.d.ts +0 -2
- package/dist/components/details-list/index.js +1 -1
- package/dist/components/details-list/index.js.map +1 -1
- package/dist/components/details-list/label.d.ts +0 -2
- package/dist/components/details-list/styles.module.css +52 -0
- package/dist/components/details-list/types.d.ts +2 -3
- package/dist/components/details-list/value.d.ts +0 -2
- package/dist/components/dialog/content.js +1 -1
- package/dist/components/dialog/content.js.map +1 -1
- package/dist/components/dialog/footer.js +1 -1
- package/dist/components/dialog/footer.js.map +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/dialog/styles.module.css +86 -0
- package/dist/components/dialog/title.js +1 -1
- package/dist/components/dialog/title.js.map +1 -1
- package/dist/components/dialog/trigger.d.ts +5 -1
- package/dist/components/dialog/trigger.js +1 -1
- package/dist/components/dialog/trigger.js.map +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/divider/index.js.map +1 -1
- package/dist/components/divider/styles.module.css +44 -0
- package/dist/components/drawer/back.js +1 -1
- package/dist/components/drawer/back.js.map +1 -1
- package/dist/components/drawer/close.js +1 -1
- package/dist/components/drawer/close.js.map +1 -1
- package/dist/components/drawer/content.js +1 -3
- package/dist/components/drawer/content.js.map +1 -1
- package/dist/components/drawer/context.d.ts +0 -4
- package/dist/components/drawer/footer.js +1 -3
- package/dist/components/drawer/footer.js.map +1 -1
- package/dist/components/drawer/header-title.d.ts +0 -4
- package/dist/components/drawer/header-title.js +1 -3
- package/dist/components/drawer/header-title.js.map +1 -1
- package/dist/components/drawer/header.js +1 -1
- package/dist/components/drawer/header.js.map +1 -1
- package/dist/components/drawer/index.d.ts +0 -4
- package/dist/components/drawer/index.js +1 -1
- package/dist/components/drawer/index.js.map +1 -1
- package/dist/components/drawer/layout-main.js +1 -3
- package/dist/components/drawer/layout-main.js.map +1 -1
- package/dist/components/drawer/layout.d.ts +0 -4
- package/dist/components/drawer/layout.js +1 -3
- package/dist/components/drawer/layout.js.map +1 -1
- package/dist/components/drawer/menu-item.d.ts +0 -4
- package/dist/components/drawer/menu-item.js +1 -1
- package/dist/components/drawer/menu-item.js.map +1 -1
- package/dist/components/drawer/menu.d.ts +0 -4
- package/dist/components/drawer/menu.js +1 -3
- package/dist/components/drawer/menu.js.map +1 -1
- package/dist/components/drawer/panel.js +1 -3
- package/dist/components/drawer/panel.js.map +1 -1
- package/dist/components/drawer/styles.module.css +304 -0
- package/dist/components/drawer/trigger.d.ts +0 -4
- package/dist/components/drawer/trigger.js +1 -1
- package/dist/components/drawer/trigger.js.map +1 -1
- package/dist/components/drawer/types.d.ts +3 -5
- package/dist/components/drawer/view.js +1 -1
- package/dist/components/drawer/view.js.map +1 -1
- package/dist/components/hero/index.js +1 -1
- package/dist/components/hero/index.js.map +1 -1
- package/dist/components/hero/styles.module.css +51 -0
- package/dist/components/hotkey/context.d.ts +0 -2
- package/dist/components/hotkey/index.d.ts +0 -2
- package/dist/components/hotkey/index.js +1 -1
- package/dist/components/hotkey/index.js.map +1 -1
- package/dist/components/hotkey/set.d.ts +6 -0
- package/dist/components/hotkey/set.js +4 -0
- package/dist/components/hotkey/set.js.map +1 -0
- package/dist/components/hotkey/styles.module.css +36 -0
- package/dist/components/hotkey/types.d.ts +5 -6
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/icon/styles.module.css +38 -0
- package/dist/components/input/context.d.ts +0 -4
- package/dist/components/input/index.d.ts +0 -4
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/index.js.map +1 -1
- package/dist/components/input/styles.module.css +175 -0
- package/dist/components/input/types.d.ts +7 -6
- package/dist/components/kanban/card-body.d.ts +12 -0
- package/dist/components/kanban/card-body.js +4 -0
- package/dist/components/kanban/card-body.js.map +1 -0
- package/dist/components/kanban/card-header-actions.d.ts +12 -0
- package/dist/components/kanban/card-header-actions.js +4 -0
- package/dist/components/kanban/card-header-actions.js.map +1 -0
- package/dist/components/kanban/card-header-title.d.ts +12 -0
- package/dist/components/kanban/card-header-title.js +4 -0
- package/dist/components/kanban/card-header-title.js.map +1 -0
- package/dist/components/kanban/card-header.d.ts +12 -0
- package/dist/components/kanban/card-header.js +4 -0
- package/dist/components/kanban/card-header.js.map +1 -0
- package/dist/components/kanban/card.d.ts +12 -0
- package/dist/components/kanban/card.js +4 -0
- package/dist/components/kanban/card.js.map +1 -0
- package/dist/components/kanban/column-actions.d.ts +12 -0
- package/dist/components/kanban/column-actions.js +4 -0
- package/dist/components/kanban/column-actions.js.map +1 -0
- package/dist/components/kanban/column-container.d.ts +12 -0
- package/dist/components/kanban/column-container.js +4 -0
- package/dist/components/kanban/column-container.js.map +1 -0
- package/dist/components/kanban/column-content.d.ts +12 -0
- package/dist/components/kanban/column-content.js +4 -0
- package/dist/components/kanban/column-content.js.map +1 -0
- package/dist/components/kanban/column-header-actions.d.ts +12 -0
- package/dist/components/kanban/column-header-actions.js +4 -0
- package/dist/components/kanban/column-header-actions.js.map +1 -0
- package/dist/components/kanban/column-header-drag-handle.d.ts +5 -0
- package/dist/components/kanban/column-header-drag-handle.js +4 -0
- package/dist/components/kanban/column-header-drag-handle.js.map +1 -0
- package/dist/components/kanban/column-header-title.d.ts +12 -0
- package/dist/components/kanban/column-header-title.js +4 -0
- package/dist/components/kanban/column-header-title.js.map +1 -0
- package/dist/components/kanban/column-header.d.ts +12 -0
- package/dist/components/kanban/column-header.js +4 -0
- package/dist/components/kanban/column-header.js.map +1 -0
- package/dist/components/kanban/column.d.ts +12 -0
- package/dist/components/kanban/column.js +4 -0
- package/dist/components/kanban/column.js.map +1 -0
- package/dist/components/kanban/context.d.ts +101 -0
- package/dist/components/kanban/context.js +2 -0
- package/dist/components/kanban/context.js.map +1 -0
- package/dist/components/kanban/header-actions.d.ts +12 -0
- package/dist/components/kanban/header-actions.js +4 -0
- package/dist/components/kanban/header-actions.js.map +1 -0
- package/dist/components/kanban/header-search.d.ts +12 -0
- package/dist/components/kanban/header-search.js +4 -0
- package/dist/components/kanban/header-search.js.map +1 -0
- package/dist/components/kanban/header-title.d.ts +12 -0
- package/dist/components/kanban/header-title.js +4 -0
- package/dist/components/kanban/header-title.js.map +1 -0
- package/dist/components/kanban/header.d.ts +12 -0
- package/dist/components/kanban/header.js +4 -0
- package/dist/components/kanban/header.js.map +1 -0
- package/dist/components/kanban/index.d.ts +9 -0
- package/dist/components/kanban/index.js +2 -0
- package/dist/components/kanban/index.js.map +1 -0
- package/dist/components/kanban/kanban.d.ts +18 -0
- package/dist/components/kanban/kanban.js +4 -0
- package/dist/components/kanban/kanban.js.map +1 -0
- package/dist/components/kanban/mock-data.d.ts +14 -0
- package/dist/components/kanban/mock-data.js +2 -0
- package/dist/components/kanban/mock-data.js.map +1 -0
- package/dist/components/kanban/styles.module.css +117 -0
- package/dist/components/kanban/types.d.ts +50 -0
- package/dist/components/label/index.js +1 -1
- package/dist/components/label/index.js.map +1 -1
- package/dist/components/label/styles.module.css +23 -0
- package/dist/components/lines/index.d.ts +0 -2
- package/dist/components/lines/index.js +1 -1
- package/dist/components/lines/index.js.map +1 -1
- package/dist/components/lines/styles.module.css +95 -0
- package/dist/components/lines/types.d.ts +4 -5
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/link/styles.module.css +37 -0
- package/dist/components/menu/context.d.ts +0 -2
- package/dist/components/menu/index.d.ts +0 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.js.map +1 -1
- package/dist/components/menu/item-description.js +1 -1
- package/dist/components/menu/item-description.js.map +1 -1
- package/dist/components/menu/item-label.js +1 -1
- package/dist/components/menu/item-label.js.map +1 -1
- package/dist/components/menu/item.d.ts +0 -2
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/item.js.map +1 -1
- package/dist/components/menu/section.d.ts +0 -2
- package/dist/components/menu/section.js +1 -1
- package/dist/components/menu/section.js.map +1 -1
- package/dist/components/menu/separator.js +1 -1
- package/dist/components/menu/separator.js.map +1 -1
- package/dist/components/menu/styles.module.css +415 -0
- package/dist/components/menu/trigger.d.ts +5 -1
- package/dist/components/menu/trigger.js +1 -1
- package/dist/components/menu/trigger.js.map +1 -1
- package/dist/components/menu/types.d.ts +2 -3
- package/dist/components/notice/index.d.ts +0 -3
- package/dist/components/notice/index.js +1 -1
- package/dist/components/notice/index.js.map +1 -1
- package/dist/components/notice/list.d.ts +0 -3
- package/dist/components/notice/list.js +1 -1
- package/dist/components/notice/list.js.map +1 -1
- package/dist/components/notice/notice-icon.d.ts +0 -3
- package/dist/components/notice/styles.module.css +133 -0
- package/dist/components/notice/types.d.ts +3 -6
- package/dist/components/options/index.js +1 -1
- package/dist/components/options/index.js.map +1 -1
- package/dist/components/options/item-content.d.ts +2 -5
- package/dist/components/options/item-content.js +1 -3
- package/dist/components/options/item-content.js.map +1 -1
- package/dist/components/options/item-description.d.ts +2 -5
- package/dist/components/options/item-description.js +1 -3
- package/dist/components/options/item-description.js.map +1 -1
- package/dist/components/options/item-label.d.ts +2 -5
- package/dist/components/options/item-label.js +1 -3
- package/dist/components/options/item-label.js.map +1 -1
- package/dist/components/options/item.js +1 -1
- package/dist/components/options/item.js.map +1 -1
- package/dist/components/options/section.js +1 -3
- package/dist/components/options/section.js.map +1 -1
- package/dist/components/options/styles.module.css +397 -0
- package/dist/components/options/types.d.ts +2 -3
- package/dist/components/pagination/context.d.ts +9 -0
- package/dist/components/pagination/context.js +4 -0
- package/dist/components/pagination/context.js.map +1 -0
- package/dist/components/pagination/index.d.ts +25 -0
- package/dist/components/pagination/index.js +4 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/next.d.ts +10 -0
- package/dist/components/pagination/next.js +4 -0
- package/dist/components/pagination/next.js.map +1 -0
- package/dist/components/pagination/pages.d.ts +10 -0
- package/dist/components/pagination/pages.js +4 -0
- package/dist/components/pagination/pages.js.map +1 -0
- package/dist/components/pagination/prev.d.ts +10 -0
- package/dist/components/pagination/prev.js +4 -0
- package/dist/components/pagination/prev.js.map +1 -0
- package/dist/components/pagination/styles.module.css +25 -0
- package/dist/components/pagination/types.d.ts +35 -0
- package/dist/components/pagination/types.js +2 -0
- package/dist/components/pagination/types.js.map +1 -0
- package/dist/components/pagination/utils.d.ts +16 -0
- package/dist/components/pagination/utils.js +2 -0
- package/dist/components/pagination/utils.js.map +1 -0
- package/dist/components/popover/content.d.ts +2 -4
- package/dist/components/popover/content.js +1 -1
- package/dist/components/popover/content.js.map +1 -1
- package/dist/components/popover/footer.d.ts +2 -5
- package/dist/components/popover/footer.js +1 -1
- package/dist/components/popover/footer.js.map +1 -1
- package/dist/components/popover/index.d.ts +15 -19
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/popover/styles.module.css +32 -0
- package/dist/components/popover/title.d.ts +2 -4
- package/dist/components/popover/title.js +1 -1
- package/dist/components/popover/title.js.map +1 -1
- package/dist/components/popover/trigger.d.ts +1 -1
- package/dist/components/popover/trigger.js +1 -1
- package/dist/components/popover/trigger.js.map +1 -1
- package/dist/components/popover/types.d.ts +11 -22
- package/dist/components/query-builder/index.js +1 -1
- package/dist/components/query-builder/index.js.map +1 -1
- package/dist/components/query-builder/rule-group.js +1 -1
- package/dist/components/query-builder/rule-group.js.map +1 -1
- package/dist/components/query-builder/rule.js +1 -1
- package/dist/components/query-builder/rule.js.map +1 -1
- package/dist/components/query-builder/styles.module.css +87 -0
- package/dist/components/query-builder/value-editor.js +1 -1
- package/dist/components/query-builder/value-editor.js.map +1 -1
- package/dist/components/radio/group.js +1 -1
- package/dist/components/radio/group.js.map +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.js.map +1 -1
- package/dist/components/radio/styles.module.css +118 -0
- package/dist/components/search-field/context.d.ts +0 -4
- package/dist/components/search-field/index.d.ts +0 -4
- package/dist/components/search-field/index.js +1 -1
- package/dist/components/search-field/index.js.map +1 -1
- package/dist/components/search-field/styles.module.css +104 -0
- package/dist/components/search-field/types.d.ts +2 -7
- package/dist/components/select-field/context.d.ts +0 -3
- package/dist/components/select-field/index.d.ts +0 -3
- package/dist/components/select-field/index.js +1 -1
- package/dist/components/select-field/index.js.map +1 -1
- package/dist/components/select-field/styles.module.css +78 -0
- package/dist/components/select-field/types.d.ts +0 -3
- package/dist/components/sidenav/avatar.js +1 -1
- package/dist/components/sidenav/avatar.js.map +1 -1
- package/dist/components/sidenav/content.js +1 -1
- package/dist/components/sidenav/content.js.map +1 -1
- package/dist/components/sidenav/footer.js +1 -3
- package/dist/components/sidenav/footer.js.map +1 -1
- package/dist/components/sidenav/header.js +1 -1
- package/dist/components/sidenav/header.js.map +1 -1
- package/dist/components/sidenav/index.js +1 -1
- package/dist/components/sidenav/index.js.map +1 -1
- package/dist/components/sidenav/item.js +1 -1
- package/dist/components/sidenav/item.js.map +1 -1
- package/dist/components/sidenav/link.js +1 -1
- package/dist/components/sidenav/link.js.map +1 -1
- package/dist/components/sidenav/menu-item.js +1 -3
- package/dist/components/sidenav/menu-item.js.map +1 -1
- package/dist/components/sidenav/menu.js +1 -1
- package/dist/components/sidenav/menu.js.map +1 -1
- package/dist/components/sidenav/styles.module.css +311 -0
- package/dist/components/sidenav/types.d.ts +1 -2
- package/dist/components/skeleton/index.d.ts +2 -4
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/index.js.map +1 -1
- package/dist/components/skeleton/styles.module.css +33 -0
- package/dist/components/skeleton/types.d.ts +4 -5
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.js.map +1 -1
- package/dist/components/slider/styles.module.css +220 -0
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.js.map +1 -1
- package/dist/components/switch/styles.module.css +116 -0
- package/dist/components/table/body.d.ts +0 -3
- package/dist/components/table/body.js +1 -1
- package/dist/components/table/body.js.map +1 -1
- package/dist/components/table/cell.d.ts +0 -3
- package/dist/components/table/cell.js +1 -1
- package/dist/components/table/cell.js.map +1 -1
- package/dist/components/table/context.d.ts +0 -3
- package/dist/components/table/header-cell.d.ts +0 -3
- package/dist/components/table/header-cell.js +1 -1
- package/dist/components/table/header-cell.js.map +1 -1
- package/dist/components/table/header.d.ts +0 -3
- package/dist/components/table/header.js +1 -1
- package/dist/components/table/header.js.map +1 -1
- package/dist/components/table/index.d.ts +0 -3
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/table/row.d.ts +0 -3
- package/dist/components/table/row.js +1 -1
- package/dist/components/table/row.js.map +1 -1
- package/dist/components/table/styles.module.css +95 -0
- package/dist/components/table/types.d.ts +5 -15
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.js.map +1 -1
- package/dist/components/tabs/list.js +1 -1
- package/dist/components/tabs/list.js.map +1 -1
- package/dist/components/tabs/panel.js +1 -1
- package/dist/components/tabs/panel.js.map +1 -1
- package/dist/components/tabs/styles.module.css +140 -0
- package/dist/components/tabs/tab.js +1 -1
- package/dist/components/tabs/tab.js.map +1 -1
- package/dist/components/text-area-field/index.js +1 -1
- package/dist/components/text-area-field/index.js.map +1 -1
- package/dist/components/text-area-field/styles.module.css +67 -0
- package/dist/components/text-field/context.d.ts +0 -4
- package/dist/components/text-field/index.d.ts +24 -4
- package/dist/components/text-field/index.js +1 -1
- package/dist/components/text-field/index.js.map +1 -1
- package/dist/components/text-field/styles.module.css +37 -0
- package/dist/components/text-field/types.d.ts +0 -4
- package/dist/components/time-field/index.d.ts +0 -3
- package/dist/components/time-field/index.js +1 -1
- package/dist/components/time-field/index.js.map +1 -1
- package/dist/components/time-field/styles.module.css +75 -0
- package/dist/components/time-field/types.d.ts +2 -5
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.js.map +1 -1
- package/dist/components/tooltip/styles.module.css +20 -0
- package/dist/components/tree/context.d.ts +0 -2
- package/dist/components/tree/context.js +1 -1
- package/dist/components/tree/context.js.map +1 -1
- package/dist/components/tree/index.d.ts +0 -2
- package/dist/components/tree/index.js +1 -1
- package/dist/components/tree/index.js.map +1 -1
- package/dist/components/tree/item-actions.js +1 -1
- package/dist/components/tree/item-actions.js.map +1 -1
- package/dist/components/tree/item-content.d.ts +0 -2
- package/dist/components/tree/item-content.js +1 -1
- package/dist/components/tree/item-content.js.map +1 -1
- package/dist/components/tree/item-description.js +1 -1
- package/dist/components/tree/item-description.js.map +1 -1
- package/dist/components/tree/item-label.js +1 -1
- package/dist/components/tree/item-label.js.map +1 -1
- package/dist/components/tree/item-prefix-icon.js +1 -1
- package/dist/components/tree/item-prefix-icon.js.map +1 -1
- package/dist/components/tree/item.d.ts +0 -2
- package/dist/components/tree/item.js +1 -1
- package/dist/components/tree/item.js.map +1 -1
- package/dist/components/tree/lines.js +1 -1
- package/dist/components/tree/lines.js.map +1 -1
- package/dist/components/tree/styles.module.css +183 -0
- package/dist/components/tree/types.d.ts +6 -5
- package/dist/hooks/coordinate-field/index.d.ts +9 -0
- package/dist/hooks/coordinate-field/index.js +2 -0
- package/dist/hooks/coordinate-field/index.js.map +1 -0
- package/dist/hooks/coordinate-field/use-coordinate-copy.d.ts +19 -0
- package/dist/hooks/coordinate-field/use-coordinate-copy.js +2 -0
- package/dist/hooks/coordinate-field/use-coordinate-copy.js.map +1 -0
- package/dist/hooks/coordinate-field/use-coordinate-field-state.d.ts +28 -0
- package/dist/hooks/coordinate-field/use-coordinate-field-state.js +2 -0
- package/dist/hooks/coordinate-field/use-coordinate-field-state.js.map +1 -0
- package/dist/hooks/coordinate-field/use-coordinate-field.d.ts +49 -0
- package/dist/hooks/coordinate-field/use-coordinate-field.js +2 -0
- package/dist/hooks/coordinate-field/use-coordinate-field.js.map +1 -0
- package/dist/hooks/coordinate-field/use-coordinate-focus.d.ts +21 -0
- package/dist/hooks/coordinate-field/use-coordinate-focus.js +2 -0
- package/dist/hooks/coordinate-field/use-coordinate-focus.js.map +1 -0
- package/dist/hooks/coordinate-field/use-coordinate-paste.d.ts +21 -0
- package/dist/hooks/coordinate-field/use-coordinate-paste.js +2 -0
- package/dist/hooks/coordinate-field/use-coordinate-paste.js.map +1 -0
- package/dist/hooks/coordinate-field/use-timeout-cleanup.d.ts +6 -0
- package/dist/hooks/coordinate-field/use-timeout-cleanup.js +2 -0
- package/dist/hooks/coordinate-field/use-timeout-cleanup.js.map +1 -0
- package/dist/hooks/kanban/index.d.ts +93 -0
- package/dist/hooks/kanban/index.js +2 -0
- package/dist/hooks/kanban/index.js.map +1 -0
- package/dist/index.d.ts +58 -61
- package/dist/index.js +1 -1
- package/dist/index.module.css +19 -0
- package/dist/lib/utils.d.ts +1 -17
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/providers/theme-provider.d.ts +1 -1
- package/dist/providers/theme-provider.js +1 -1
- package/dist/providers/theme-provider.js.map +1 -1
- package/package.json +36 -49
- package/dist/components/accordion/styles.d.ts +0 -56
- package/dist/components/accordion/styles.js +0 -2
- package/dist/components/accordion/styles.js.map +0 -1
- package/dist/components/action-bar/styles.d.ts +0 -5
- package/dist/components/action-bar/styles.js +0 -2
- package/dist/components/action-bar/styles.js.map +0 -1
- package/dist/components/avatar/styles.d.ts +0 -48
- package/dist/components/avatar/styles.js +0 -2
- package/dist/components/avatar/styles.js.map +0 -1
- package/dist/components/badge/styles.d.ts +0 -32
- package/dist/components/badge/styles.js +0 -2
- package/dist/components/badge/styles.js.map +0 -1
- package/dist/components/breadcrumbs/styles.d.ts +0 -48
- package/dist/components/breadcrumbs/styles.js +0 -2
- package/dist/components/breadcrumbs/styles.js.map +0 -1
- package/dist/components/button/styles.d.ts +0 -129
- package/dist/components/button/styles.js +0 -2
- package/dist/components/button/styles.js.map +0 -1
- package/dist/components/checkbox/styles.d.ts +0 -54
- package/dist/components/checkbox/styles.js +0 -2
- package/dist/components/checkbox/styles.js.map +0 -1
- package/dist/components/chip/styles.d.ts +0 -247
- package/dist/components/chip/styles.js +0 -2
- package/dist/components/chip/styles.js.map +0 -1
- package/dist/components/classification-badge/styles.d.ts +0 -38
- package/dist/components/classification-badge/styles.js +0 -2
- package/dist/components/classification-badge/styles.js.map +0 -1
- package/dist/components/classification-banner/styles.d.ts +0 -38
- package/dist/components/classification-banner/styles.js +0 -2
- package/dist/components/classification-banner/styles.js.map +0 -1
- package/dist/components/color-picker/styles.d.ts +0 -42
- package/dist/components/color-picker/styles.js +0 -2
- package/dist/components/color-picker/styles.js.map +0 -1
- package/dist/components/combobox-field/styles.d.ts +0 -72
- package/dist/components/combobox-field/styles.js +0 -2
- package/dist/components/combobox-field/styles.js.map +0 -1
- package/dist/components/date-field/styles.d.ts +0 -59
- package/dist/components/date-field/styles.js +0 -2
- package/dist/components/date-field/styles.js.map +0 -1
- package/dist/components/details-list/styles.d.ts +0 -65
- package/dist/components/details-list/styles.js +0 -2
- package/dist/components/details-list/styles.js.map +0 -1
- package/dist/components/dialog/styles.d.ts +0 -60
- package/dist/components/dialog/styles.js +0 -2
- package/dist/components/dialog/styles.js.map +0 -1
- package/dist/components/divider/styles.d.ts +0 -5
- package/dist/components/divider/styles.js +0 -2
- package/dist/components/divider/styles.js.map +0 -1
- package/dist/components/drawer/styles.d.ts +0 -152
- package/dist/components/drawer/styles.js +0 -2
- package/dist/components/drawer/styles.js.map +0 -1
- package/dist/components/hero/styles.d.ts +0 -48
- package/dist/components/hero/styles.js +0 -2
- package/dist/components/hero/styles.js.map +0 -1
- package/dist/components/hotkey/hotkey-set.d.ts +0 -9
- package/dist/components/hotkey/hotkey-set.js +0 -4
- package/dist/components/hotkey/hotkey-set.js.map +0 -1
- package/dist/components/hotkey/styles.d.ts +0 -53
- package/dist/components/hotkey/styles.js +0 -2
- package/dist/components/hotkey/styles.js.map +0 -1
- package/dist/components/icon/styles.d.ts +0 -5
- package/dist/components/icon/styles.js +0 -2
- package/dist/components/icon/styles.js.map +0 -1
- package/dist/components/input/styles.d.ts +0 -142
- package/dist/components/input/styles.js +0 -2
- package/dist/components/input/styles.js.map +0 -1
- package/dist/components/label/styles.d.ts +0 -5
- package/dist/components/label/styles.js +0 -2
- package/dist/components/label/styles.js.map +0 -1
- package/dist/components/lines/styles.d.ts +0 -32
- package/dist/components/lines/styles.js +0 -2
- package/dist/components/lines/styles.js.map +0 -1
- package/dist/components/link/styles.d.ts +0 -5
- package/dist/components/link/styles.js +0 -2
- package/dist/components/link/styles.js.map +0 -1
- package/dist/components/menu/styles.d.ts +0 -71
- package/dist/components/menu/styles.js +0 -2
- package/dist/components/menu/styles.js.map +0 -1
- package/dist/components/notice/styles.d.ts +0 -60
- package/dist/components/notice/styles.js +0 -2
- package/dist/components/notice/styles.js.map +0 -1
- package/dist/components/options/styles.d.ts +0 -72
- package/dist/components/options/styles.js +0 -2
- package/dist/components/options/styles.js.map +0 -1
- package/dist/components/popover/body.d.ts +0 -8
- package/dist/components/popover/body.js +0 -4
- package/dist/components/popover/body.js.map +0 -1
- package/dist/components/popover/styles.d.ts +0 -48
- package/dist/components/popover/styles.js +0 -2
- package/dist/components/popover/styles.js.map +0 -1
- package/dist/components/query-builder/styles.d.ts +0 -152
- package/dist/components/query-builder/styles.js +0 -2
- package/dist/components/query-builder/styles.js.map +0 -1
- package/dist/components/radio/styles.d.ts +0 -54
- package/dist/components/radio/styles.js +0 -2
- package/dist/components/radio/styles.js.map +0 -1
- package/dist/components/search-field/styles.d.ts +0 -53
- package/dist/components/search-field/styles.js +0 -2
- package/dist/components/search-field/styles.js.map +0 -1
- package/dist/components/select-field/styles.d.ts +0 -66
- package/dist/components/select-field/styles.js +0 -2
- package/dist/components/select-field/styles.js.map +0 -1
- package/dist/components/sidenav/styles.d.ts +0 -156
- package/dist/components/sidenav/styles.js +0 -2
- package/dist/components/sidenav/styles.js.map +0 -1
- package/dist/components/skeleton/styles.d.ts +0 -23
- package/dist/components/skeleton/styles.js +0 -2
- package/dist/components/skeleton/styles.js.map +0 -1
- package/dist/components/slider/styles.d.ts +0 -84
- package/dist/components/slider/styles.js +0 -2
- package/dist/components/slider/styles.js.map +0 -1
- package/dist/components/switch/styles.d.ts +0 -44
- package/dist/components/switch/styles.js +0 -2
- package/dist/components/switch/styles.js.map +0 -1
- package/dist/components/table/styles.d.ts +0 -134
- package/dist/components/table/styles.js +0 -2
- package/dist/components/table/styles.js.map +0 -1
- package/dist/components/tabs/styles.d.ts +0 -48
- package/dist/components/tabs/styles.js +0 -2
- package/dist/components/tabs/styles.js.map +0 -1
- package/dist/components/text-area-field/styles.d.ts +0 -54
- package/dist/components/text-area-field/styles.js +0 -2
- package/dist/components/text-area-field/styles.js.map +0 -1
- package/dist/components/text-field/styles.d.ts +0 -54
- package/dist/components/text-field/styles.js +0 -2
- package/dist/components/text-field/styles.js.map +0 -1
- package/dist/components/time-field/styles.d.ts +0 -69
- package/dist/components/time-field/styles.js +0 -2
- package/dist/components/time-field/styles.js.map +0 -1
- package/dist/components/tooltip/styles.d.ts +0 -5
- package/dist/components/tooltip/styles.js +0 -2
- package/dist/components/tooltip/styles.js.map +0 -1
- package/dist/components/tree/styles.d.ts +0 -128
- package/dist/components/tree/styles.js +0 -2
- package/dist/components/tree/styles.js.map +0 -1
- package/dist/index.css +0 -196
- package/dist/styles.css +0 -9484
- package/dist/tokens/themes.css +0 -882
- package/dist/tokens/themes.d.ts +0 -1
- package/dist/tokens/tokens.css +0 -202
- package/dist/tokens/tokens.d.ts +0 -468
- package/dist/tokens/tokens.js +0 -2
- package/dist/tokens/tokens.js.map +0 -1
- package/dist/tokens/types.d.ts +0 -308
- package/dist/variants/variants.css +0 -86
- package/dist/variants/variants.d.ts +0 -2
- /package/dist/{tokens → components/kanban}/types.js +0 -0
- /package/dist/{tokens → components/kanban}/types.js.map +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
|
+
import { ThemeTokens, SemanticColorTokens, StaticColorTokens } from '@accelint/design-foundation/tokens/types';
|
|
3
4
|
import { PartialDeep } from 'type-fest';
|
|
4
|
-
import { ThemeTokens, SemanticColorTokens, StaticColorTokens } from '../tokens/types.js';
|
|
5
5
|
|
|
6
6
|
type ThemeMode = 'dark' | 'light';
|
|
7
7
|
type ContextColorTokens = SemanticColorTokens & StaticColorTokens;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import {jsx}from'react/jsx-runtime';import'client-only';import {assign}from'radashi';import {createContext,useState,useEffect,useMemo,useContext}from'react';
|
|
3
|
+
import {jsx}from'react/jsx-runtime';import'client-only';import {designTokens}from'@accelint/design-foundation/tokens/index';import {assign}from'radashi';import {createContext,useState,useEffect,useMemo,useContext}from'react';const u={mode:"dark",tokens:{...designTokens.dark,...designTokens.static},toggleMode:n=>{}},s=createContext(u);function P({children:n,defaultMode:d,onChange:m,overrides:r}){const[o,i]=useState(d??"dark");useEffect(()=>{if(document){const{documentElement:e}=document;e.classList.remove("dark","light"),e.classList.add(o);}},[o]);const a=useMemo(()=>{const e=assign(designTokens,r);return {...e[o],...e.static}},[o,r]);return jsx(s.Provider,{value:{mode:o,tokens:a,toggleMode:e=>{i(e),m?.(e);}},children:n})}function v(){return useContext(s)}export{P as ThemeProvider,v as useTheme};//# sourceMappingURL=theme-provider.js.map
|
|
4
4
|
//# sourceMappingURL=theme-provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/providers/theme-provider.tsx"],"names":["designTokens","
|
|
1
|
+
{"version":3,"sources":["../../src/providers/theme-provider.tsx"],"names":["defaultContextValue","designTokens","_mode","ThemeContext","createContext","ThemeProvider","children","defaultMode","onChange","overrides","mode","setMode","useState","useEffect","documentElement","tokens","useMemo","tokensWithOverrides","assign","jsx","useTheme","useContext"],"mappings":"iOAyCA,MAAMA,EAAyC,CAC7C,IAAA,CAAM,MAAA,CACN,MAAA,CAAQ,CAAE,GAAGC,YAAAA,CAAa,IAAA,CAAM,GAAGA,aAAa,MAAO,CAAA,CACvD,UAAA,CAAaC,CAAAA,EAAU,CAEvB,CACF,CAAA,CACMC,CAAAA,CAAeC,aAAAA,CAAiCJ,CAAmB,CAAA,CASlE,SAASK,CAAAA,CAAc,CAC5B,SAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,EACA,SAAA,CAAAC,CACF,CAAA,CAAuB,CACrB,KAAM,CAACC,CAAAA,CAAMC,CAAO,CAAA,CAAIC,SAAoBL,CAAAA,EAAe,MAAM,CAAA,CAEjEM,SAAAA,CAAU,IAAM,CACd,GAAI,QAAA,CAAU,CACZ,KAAM,CAAE,eAAA,CAAAC,CAAgB,CAAA,CAAI,SAC5BA,CAAAA,CAAgB,SAAA,CAAU,MAAA,CAAO,MAAA,CAAQ,OAAO,CAAA,CAChDA,CAAAA,CAAgB,SAAA,CAAU,GAAA,CAAIJ,CAAI,EACpC,CACF,CAAA,CAAG,CAACA,CAAI,CAAC,CAAA,CAET,MAAMK,CAAAA,CAA6BC,QAAQ,IAAM,CAC/C,MAAMC,CAAAA,CAAsBC,OAAOjB,YAAAA,CAAcQ,CAAwB,CAAA,CACzE,OAAO,CACL,GAAGQ,CAAAA,CAAoBP,CAAI,CAAA,CAC3B,GAAGO,CAAAA,CAAoB,MACzB,CACF,CAAA,CAAG,CAACP,CAAAA,CAAMD,CAAS,CAAC,CAAA,CAEpB,OACEU,GAAAA,CAAChB,CAAAA,CAAa,QAAA,CAAb,CACC,MAAO,CACL,IAAA,CAAAO,CAAAA,CACA,MAAA,CAAAK,EACA,UAAA,CAAaL,CAAAA,EAAoB,CAC/BC,CAAAA,CAAQD,CAAI,CAAA,CACZF,CAAAA,GAAWE,CAAI,EACjB,CACF,CAAA,CAEC,QAAA,CAAAJ,CAAAA,CACH,CAEJ,CAEO,SAASc,CAAAA,EAAW,CACzB,OAAOC,UAAAA,CAAWlB,CAAY,CAChC","file":"theme-provider.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { designTokens } from '@accelint/design-foundation/tokens/index';\nimport { assign } from 'radashi';\nimport {\n createContext,\n type PropsWithChildren,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from 'react';\nimport type {\n SemanticColorTokens,\n StaticColorTokens,\n ThemeTokens,\n} from '@accelint/design-foundation/tokens/types';\nimport type { PartialDeep } from 'type-fest';\n\nexport type ThemeMode = 'dark' | 'light';\ntype ContextColorTokens = SemanticColorTokens & StaticColorTokens;\n\ntype ThemeContextValue = {\n mode: ThemeMode;\n tokens: ContextColorTokens;\n toggleMode: (mode: ThemeMode) => void;\n};\n/** provide default context value to avoid optional chaining and null checks on the client */\nconst defaultContextValue: ThemeContextValue = {\n mode: 'dark',\n tokens: { ...designTokens.dark, ...designTokens.static },\n toggleMode: (_mode) => {\n // no-op\n },\n};\nconst ThemeContext = createContext<ThemeContextValue>(defaultContextValue);\n\ntype ThemeProviderProps = PropsWithChildren & {\n defaultMode?: ThemeMode;\n onChange?: (mode: ThemeMode) => void;\n /** override existing values in the theme */\n overrides?: PartialDeep<ThemeTokens>;\n};\n\nexport function ThemeProvider({\n children,\n defaultMode,\n onChange,\n overrides,\n}: ThemeProviderProps) {\n const [mode, setMode] = useState<ThemeMode>(defaultMode ?? 'dark');\n\n useEffect(() => {\n if (document) {\n const { documentElement } = document;\n documentElement.classList.remove('dark', 'light');\n documentElement.classList.add(mode);\n }\n }, [mode]);\n\n const tokens: ContextColorTokens = useMemo(() => {\n const tokensWithOverrides = assign(designTokens, overrides as ThemeTokens);\n return {\n ...tokensWithOverrides[mode],\n ...tokensWithOverrides.static,\n };\n }, [mode, overrides]);\n\n return (\n <ThemeContext.Provider\n value={{\n mode,\n tokens,\n toggleMode: (mode: ThemeMode) => {\n setMode(mode);\n onChange?.(mode);\n },\n }}\n >\n {children}\n </ThemeContext.Provider>\n );\n}\n\nexport function useTheme() {\n return useContext(ThemeContext);\n}\n"]}
|
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"tooling",
|
|
11
11
|
"ui"
|
|
12
12
|
],
|
|
13
|
-
"subPath": "design-toolkit
|
|
14
|
-
"version": "
|
|
13
|
+
"subPath": "packages/design-toolkit",
|
|
14
|
+
"version": "8.0.0",
|
|
15
15
|
"private": false,
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
17
|
"repository": {
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
},
|
|
33
33
|
"default": "./dist/index.js"
|
|
34
34
|
},
|
|
35
|
-
"
|
|
35
|
+
"./*": {
|
|
36
36
|
"import": {
|
|
37
|
-
"types": "./dist
|
|
38
|
-
"default": "./dist
|
|
37
|
+
"types": "./dist/*.d.ts",
|
|
38
|
+
"default": "./dist/*.js"
|
|
39
39
|
},
|
|
40
|
-
"default": "./dist
|
|
40
|
+
"default": "./dist/*.js"
|
|
41
41
|
},
|
|
42
42
|
"./hooks/*": {
|
|
43
43
|
"import": {
|
|
@@ -62,14 +62,15 @@
|
|
|
62
62
|
},
|
|
63
63
|
"./styles": {
|
|
64
64
|
"import": {
|
|
65
|
-
"default": "./dist/index.css"
|
|
65
|
+
"default": "./dist/index.module.css"
|
|
66
66
|
},
|
|
67
|
-
"default": "./dist/index.css"
|
|
67
|
+
"default": "./dist/index.module.css"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"string-hash": "^1.1.3"
|
|
72
|
+
},
|
|
70
73
|
"devDependencies": {
|
|
71
|
-
"@fontsource-variable/roboto-flex": "^5.2.8",
|
|
72
|
-
"@fontsource-variable/roboto-mono": "^5.2.8",
|
|
73
74
|
"@internationalized/date": "^3.10.0",
|
|
74
75
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
75
76
|
"@react-aria/dnd": "^3.10.1",
|
|
@@ -84,16 +85,10 @@
|
|
|
84
85
|
"@react-stately/utils": "^3.10.8",
|
|
85
86
|
"@react-types/overlays": "^3.9.0",
|
|
86
87
|
"@react-types/shared": "^3.31.0",
|
|
87
|
-
"@storybook/addon-
|
|
88
|
-
"@storybook/addon-
|
|
89
|
-
"@storybook/
|
|
90
|
-
"@storybook/
|
|
91
|
-
"@storybook/blocks": "^8.6.14",
|
|
92
|
-
"@storybook/builder-vite": "^8.6.14",
|
|
93
|
-
"@storybook/manager-api": "^8.6.14",
|
|
94
|
-
"@storybook/react": "^8.6.14",
|
|
95
|
-
"@storybook/react-vite": "^8.6.14",
|
|
96
|
-
"@storybook/theming": "^8.6.14",
|
|
88
|
+
"@storybook/addon-docs": "^9.1.16",
|
|
89
|
+
"@storybook/addon-themes": "^9.1.16",
|
|
90
|
+
"@storybook/builder-vite": "^9.1.16",
|
|
91
|
+
"@storybook/react-vite": "^9.1.16",
|
|
97
92
|
"@tailwindcss/cli": "^4.1.11",
|
|
98
93
|
"@tailwindcss/vite": "^4.1.11",
|
|
99
94
|
"@tanstack/react-table": "^8.21.3",
|
|
@@ -101,46 +96,48 @@
|
|
|
101
96
|
"@testing-library/jest-dom": "^6.6.4",
|
|
102
97
|
"@testing-library/react": "^16.3.0",
|
|
103
98
|
"@testing-library/user-event": "^14.6.1",
|
|
99
|
+
"@types/css-modules": "^1.0.5",
|
|
104
100
|
"@types/node": "^24.9.0",
|
|
105
101
|
"@types/react": "19.1.13",
|
|
106
102
|
"@types/react-dom": "19.1.11",
|
|
107
103
|
"autoprefixer": "^10.4.21",
|
|
108
|
-
"class-variance-authority": "^0.7.1",
|
|
109
104
|
"client-only": "^0.0.1",
|
|
110
|
-
"clsx": "^2.1.1",
|
|
111
105
|
"esbuild-fix-imports-plugin": "^1.0.23",
|
|
112
106
|
"jsdom": "^25.0.1",
|
|
113
107
|
"postcss": "^8.5.6",
|
|
108
|
+
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
114
109
|
"radashi": "^12.6.2",
|
|
115
110
|
"react": "19.0.0",
|
|
116
111
|
"react-aria-components": "1.12.1",
|
|
117
112
|
"react-dom": "19.0.0",
|
|
118
113
|
"react-querybuilder": "8.10.0",
|
|
119
|
-
"storybook": "^
|
|
120
|
-
"tailwind-merge": "^3.3.1",
|
|
121
|
-
"tailwind-variants": "^2.0.1",
|
|
122
|
-
"tailwindcss": "^4.1.11",
|
|
114
|
+
"storybook": "^9.1.16",
|
|
123
115
|
"tinyglobby": "^0.2.15",
|
|
124
116
|
"tsup": "8.5.0",
|
|
125
117
|
"type-fest": "^4.41.0",
|
|
126
118
|
"typescript": "5.8.3",
|
|
127
119
|
"uuid": "^11.1.0",
|
|
128
|
-
"vite": "^
|
|
120
|
+
"vite": "^7.2.2",
|
|
129
121
|
"vite-tsconfig-paths": "^5.1.4",
|
|
130
|
-
"vitest": "^
|
|
122
|
+
"vitest": "^4.0.8",
|
|
131
123
|
"zod": "^4.1.12",
|
|
132
|
-
"@accelint/
|
|
124
|
+
"@accelint/biome-config": "1.0.2",
|
|
125
|
+
"@accelint/bus": "3.0.0",
|
|
133
126
|
"@accelint/constellation-tracker": "1.0.1",
|
|
134
127
|
"@accelint/core": "0.5.0",
|
|
135
|
-
"@accelint/
|
|
128
|
+
"@accelint/design-foundation": "1.0.0",
|
|
129
|
+
"@accelint/geo": "0.3.0",
|
|
136
130
|
"@accelint/icons": "2.1.0",
|
|
131
|
+
"@accelint/logger": "0.1.2",
|
|
132
|
+
"@accelint/prettier-config": "0.2.0",
|
|
137
133
|
"@accelint/temporal": "0.1.2",
|
|
138
134
|
"@accelint/typescript-config": "0.1.4",
|
|
139
135
|
"@accelint/vitest-config": "0.1.5"
|
|
140
136
|
},
|
|
141
137
|
"peerDependencies": {
|
|
142
|
-
"@
|
|
143
|
-
"@
|
|
138
|
+
"@dnd-kit/core": "^6.3.1",
|
|
139
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
140
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
144
141
|
"@internationalized/date": "^3.10.0",
|
|
145
142
|
"@radix-ui/react-avatar": "^1.1.10",
|
|
146
143
|
"@react-aria/dnd": "^3.10.1",
|
|
@@ -155,7 +152,6 @@
|
|
|
155
152
|
"@react-types/overlays": "^3.9.0",
|
|
156
153
|
"@react-types/shared": "^3.31.0",
|
|
157
154
|
"@tanstack/react-table": "^8.21.3",
|
|
158
|
-
"class-variance-authority": "^0.7.1",
|
|
159
155
|
"client-only": "^0.0.1",
|
|
160
156
|
"clsx": "^2.1.1",
|
|
161
157
|
"radashi": "^12.6.2",
|
|
@@ -163,38 +159,29 @@
|
|
|
163
159
|
"react-aria-components": "1.12.1",
|
|
164
160
|
"react-dom": "19.0.0",
|
|
165
161
|
"react-querybuilder": "8.10.0",
|
|
166
|
-
"tailwind-merge": "^3.3.1",
|
|
167
|
-
"tailwind-variants": "^2.0.1",
|
|
168
|
-
"tailwindcss": "^4.1.11",
|
|
169
162
|
"uuid": "^11.1.0",
|
|
170
163
|
"zod": "^4.1.12",
|
|
171
|
-
"@accelint/bus": "
|
|
164
|
+
"@accelint/bus": "3.0.0",
|
|
172
165
|
"@accelint/core": "0.5.0",
|
|
173
|
-
"@accelint/
|
|
174
|
-
"@accelint/
|
|
166
|
+
"@accelint/design-foundation": "1.0.0",
|
|
167
|
+
"@accelint/geo": "0.3.0",
|
|
168
|
+
"@accelint/icons": "2.1.0",
|
|
169
|
+
"@accelint/temporal": "0.1.2"
|
|
175
170
|
},
|
|
176
171
|
"publishConfig": {
|
|
177
172
|
"access": "public"
|
|
178
173
|
},
|
|
179
174
|
"scripts": {
|
|
180
175
|
"bench": "pnpm vitest bench --run --dir src",
|
|
181
|
-
"build": "pnpm
|
|
176
|
+
"build": "pnpm format && tsup",
|
|
182
177
|
"build-storybook": "pnpm storybook build",
|
|
183
|
-
"build:css": "pnpm tailwindcss -i ./src/index.css -o ./dist/styles.css",
|
|
184
178
|
"constellation-tracker": "constellation-tracker",
|
|
185
179
|
"dev": "pnpm tsc --watch",
|
|
186
180
|
"format": "pnpm biome format . --write",
|
|
187
|
-
"
|
|
188
|
-
"gen:variants": "node scripts/generate-variants.mjs",
|
|
189
|
-
"generate": "pnpm gen:tokens && pnpm gen:variants",
|
|
190
|
-
"index": "pnpm zx ../../scripts/indexer.mjs design-toolkit/components",
|
|
191
|
-
"license": "pnpm license:tokens && pnpm license:variants",
|
|
192
|
-
"license:tokens": "pnpm zx ../../scripts/license.mjs --files ./src/tokens",
|
|
193
|
-
"license:variants": "pnpm zx ../../scripts/license.mjs --files ./src/variants",
|
|
181
|
+
"index": "pnpm zx ../../scripts/indexer.mjs packages/design-toolkit",
|
|
194
182
|
"lint": "pnpm biome lint",
|
|
195
183
|
"preview": "pnpm storybook dev -p 6006",
|
|
196
184
|
"preview:docs": "pnpm storybook dev --docs -p 6006",
|
|
197
|
-
"temp:token-migration": "pnpm zx scripts/token-migration.mjs",
|
|
198
185
|
"test": "pnpm vitest --dir=src",
|
|
199
186
|
"test:watch": "pnpm vitest --dir=src --watch"
|
|
200
187
|
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
declare const AccordionStylesDefaults: {
|
|
4
|
-
readonly variant: "cozy";
|
|
5
|
-
};
|
|
6
|
-
declare const AccordionStyles: tailwind_variants.TVReturnType<{
|
|
7
|
-
variant: {
|
|
8
|
-
cozy: {
|
|
9
|
-
trigger: string;
|
|
10
|
-
};
|
|
11
|
-
compact: {
|
|
12
|
-
trigger: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
group: string;
|
|
17
|
-
accordion: string;
|
|
18
|
-
header: string[];
|
|
19
|
-
heading: string;
|
|
20
|
-
trigger: string;
|
|
21
|
-
panel: string;
|
|
22
|
-
}, undefined, {
|
|
23
|
-
variant: {
|
|
24
|
-
cozy: {
|
|
25
|
-
trigger: string;
|
|
26
|
-
};
|
|
27
|
-
compact: {
|
|
28
|
-
trigger: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
group: string;
|
|
33
|
-
accordion: string;
|
|
34
|
-
header: string[];
|
|
35
|
-
heading: string;
|
|
36
|
-
trigger: string;
|
|
37
|
-
panel: string;
|
|
38
|
-
}, tailwind_variants.TVReturnType<{
|
|
39
|
-
variant: {
|
|
40
|
-
cozy: {
|
|
41
|
-
trigger: string;
|
|
42
|
-
};
|
|
43
|
-
compact: {
|
|
44
|
-
trigger: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
}, {
|
|
48
|
-
group: string;
|
|
49
|
-
accordion: string;
|
|
50
|
-
header: string[];
|
|
51
|
-
heading: string;
|
|
52
|
-
trigger: string;
|
|
53
|
-
panel: string;
|
|
54
|
-
}, undefined, unknown, unknown>>;
|
|
55
|
-
|
|
56
|
-
export { AccordionStyles, AccordionStylesDefaults };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {tv}from'./../../lib/utils.js';const r={variant:"cozy"},i=tv({slots:{group:"group/accordion-group flex w-full flex-col",accordion:"group/accordion flex w-full flex-col bg-transparent",header:["fg-primary-bold flex w-full items-center gap-s rounded-medium px-s py-xs outline-none","group-enabled/accordion:focus-visible-within:bg-interactive-muted-hover group-enabled/accordion:hover:bg-interactive-muted-hover","group-enabled/accordion:pressed:bg-interactive-muted-pressed","group-disabled/accordion:fg-disabled group-disabled/accordion:cursor-not-allowed"],heading:"grow",trigger:"w-full cursor-pointer justify-start size-medium:px-0",panel:"p-s"},variants:{variant:{cozy:{trigger:"size-medium:gap-s size-medium:text-header-m"},compact:{trigger:"size-medium:gap-xs size-medium:text-header-s"}}},defaultVariants:r});export{i as AccordionStyles,r as AccordionStylesDefaults};//# sourceMappingURL=styles.js.map
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/accordion/styles.ts"],"names":["AccordionStyles","tv","e"],"mappings":"sCAeE,MAAA,CAAS,CAAA,CAAA,OAGEA,CAAkBC,MAC7B,CAAA,CAAA,CAAO,CACLC,EAAA,CAAA,CAAA,KAAO,CAAA,CAAA,KAAA,CAAA,4CACP,CAAW,SAAA,CAAA,qDAET,CAAA,MAAA,CAAA,CAAA,uFACA,CAAA,kIACA,CAAA,8DACA,CAAA,kFAEO,CAAA,CAAA,OACT,CAAA,qEACO,CAAA,KAET,CAAA,KAAA,CAAU,CACR,QAAS,CACP,CAAA,aACW,CAAA,CAAA,OAAA,CAAA,6CAEF,CACP,CAAA,OAAS,CAAA,CAAA,OAAA,CAAA,8CAIf,CAAA,CAAA,CAAA,CAAA,eACD,CAAA,CAAA,CAAA","file":"styles.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { tv } from '@/lib/utils';\n\nexport const AccordionStylesDefaults = {\n variant: 'cozy',\n} as const;\n\nexport const AccordionStyles = tv({\n slots: {\n group: 'group/accordion-group flex w-full flex-col',\n accordion: 'group/accordion flex w-full flex-col bg-transparent',\n header: [\n 'fg-primary-bold flex w-full items-center gap-s rounded-medium px-s py-xs outline-none',\n 'group-enabled/accordion:focus-visible-within:bg-interactive-muted-hover group-enabled/accordion:hover:bg-interactive-muted-hover',\n 'group-enabled/accordion:pressed:bg-interactive-muted-pressed',\n 'group-disabled/accordion:fg-disabled group-disabled/accordion:cursor-not-allowed',\n ],\n heading: 'grow',\n trigger: 'w-full cursor-pointer justify-start size-medium:px-0',\n panel: 'p-s',\n },\n variants: {\n variant: {\n cozy: {\n trigger: 'size-medium:gap-s size-medium:text-header-m',\n },\n compact: {\n trigger: 'size-medium:gap-xs size-medium:text-header-s',\n },\n },\n },\n defaultVariants: AccordionStylesDefaults,\n});\n"]}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
declare const ActionBarStyles: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "flex w-fit gap-s rounded-medium bg-surface-default px-m py-s shadow-elevation-overlay", {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "flex w-fit gap-s rounded-medium bg-surface-default px-m py-s shadow-elevation-overlay", unknown, unknown>>;
|
|
4
|
-
|
|
5
|
-
export { ActionBarStyles };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/action-bar/styles.ts"],"names":["e"],"mappings":"sCAeE,MAAM,CAAA,CAAAA,EAAA,CAAA,CAAA,IAAA,CAAA,uFACP,CAAA","file":"styles.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { tv } from '@/lib/utils';\n\nexport const ActionBarStyles = tv({\n base: 'flex w-fit gap-s rounded-medium bg-surface-default px-m py-s shadow-elevation-overlay',\n});\n"]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
|
|
4
|
-
declare const AvatarStyles: tailwind_variants.TVReturnType<{
|
|
5
|
-
[key: string]: {
|
|
6
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
7
|
-
content?: tailwind_merge.ClassNameValue;
|
|
8
|
-
image?: tailwind_merge.ClassNameValue;
|
|
9
|
-
fallback?: tailwind_merge.ClassNameValue;
|
|
10
|
-
avatar?: tailwind_merge.ClassNameValue;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
} | {
|
|
14
|
-
[x: string]: {
|
|
15
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
16
|
-
content?: tailwind_merge.ClassNameValue;
|
|
17
|
-
image?: tailwind_merge.ClassNameValue;
|
|
18
|
-
fallback?: tailwind_merge.ClassNameValue;
|
|
19
|
-
avatar?: tailwind_merge.ClassNameValue;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
} | {}, {
|
|
23
|
-
avatar: string[];
|
|
24
|
-
image: string;
|
|
25
|
-
fallback: string;
|
|
26
|
-
content: string;
|
|
27
|
-
}, undefined, {
|
|
28
|
-
[key: string]: {
|
|
29
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
30
|
-
content?: tailwind_merge.ClassNameValue;
|
|
31
|
-
image?: tailwind_merge.ClassNameValue;
|
|
32
|
-
fallback?: tailwind_merge.ClassNameValue;
|
|
33
|
-
avatar?: tailwind_merge.ClassNameValue;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
} | {}, {
|
|
37
|
-
avatar: string[];
|
|
38
|
-
image: string;
|
|
39
|
-
fallback: string;
|
|
40
|
-
content: string;
|
|
41
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
42
|
-
avatar: string[];
|
|
43
|
-
image: string;
|
|
44
|
-
fallback: string;
|
|
45
|
-
content: string;
|
|
46
|
-
}, undefined, unknown, unknown>>;
|
|
47
|
-
|
|
48
|
-
export { AvatarStyles };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {tv}from'./../../lib/utils.js';const r=tv({slots:{avatar:["group/avatar grid [grid-template-areas:'content'] rounded-full bg-surface-overlay fg-primary-muted","size-medium:size-[32px] size-medium:text-header-m","size-small:size-xl size-small:text-header-xs"],image:"size-full overflow-hidden rounded-full object-cover object-center [grid-area:content]",fallback:"flex size-full items-center justify-center [grid-area:content]",content:"relative flex size-full items-center justify-center [grid-area:content]"}});export{r as AvatarStyles};//# sourceMappingURL=styles.js.map
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/avatar/styles.ts"],"names":["e"],"mappings":"sCAeE,MAAA,CAAO,CACLA,EAAA,CAAA,CAAA,KACE,8GACA,CAAA,mDACA,CAAA,8CAGA,CAAA,CAAA,KAAA,CAAA,uFACQ,CAAA,QAAA,CAAA,gEAER,CAAA,OAAA,CAAA,yEAEL,CAAA,CAAA","file":"styles.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { tv } from '@/lib/utils';\n\nexport const AvatarStyles = tv({\n slots: {\n avatar: [\n `group/avatar grid [grid-template-areas:'content'] rounded-full bg-surface-overlay fg-primary-muted`,\n 'size-medium:size-[32px] size-medium:text-header-m',\n 'size-small:size-xl size-small:text-header-xs',\n ],\n image:\n 'size-full overflow-hidden rounded-full object-cover object-center [grid-area:content]',\n fallback: 'flex size-full items-center justify-center [grid-area:content]',\n content:\n 'relative flex size-full items-center justify-center [grid-area:content]',\n },\n});\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
|
|
3
|
-
declare const BadgeStylesDefaults: {
|
|
4
|
-
readonly variant: "info";
|
|
5
|
-
};
|
|
6
|
-
declare const BadgeStyles: tailwind_variants.TVReturnType<{
|
|
7
|
-
variant: {
|
|
8
|
-
info: string;
|
|
9
|
-
advisory: string;
|
|
10
|
-
normal: string;
|
|
11
|
-
serious: string;
|
|
12
|
-
critical: string;
|
|
13
|
-
};
|
|
14
|
-
}, undefined, string[], {
|
|
15
|
-
variant: {
|
|
16
|
-
info: string;
|
|
17
|
-
advisory: string;
|
|
18
|
-
normal: string;
|
|
19
|
-
serious: string;
|
|
20
|
-
critical: string;
|
|
21
|
-
};
|
|
22
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
23
|
-
variant: {
|
|
24
|
-
info: string;
|
|
25
|
-
advisory: string;
|
|
26
|
-
normal: string;
|
|
27
|
-
serious: string;
|
|
28
|
-
critical: string;
|
|
29
|
-
};
|
|
30
|
-
}, undefined, string[], unknown, unknown>>;
|
|
31
|
-
|
|
32
|
-
export { BadgeStyles, BadgeStylesDefaults };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {tv}from'./../../lib/utils.js';const e={variant:"info"},o=tv({base:["group/badge fg-primary-bold inline-flex items-center justify-center rounded-full px-xs text-body-xs outline empty:size-s empty:px-none","[&[data-placement]]:absolute","placement-top:-translate-y-1/2 placement-top:top-[attr(data-offset-y_px,0px)]","placement-right:right-[attr(data-offset-x_px,0px)] placement-right:translate-x-1/2","placement-bottom:bottom-[attr(data-offset-y_px,0px)] placement-bottom:translate-y-1/2","placement-left:-translate-x-1/2 placement-left:left-[attr(data-offset-x_px,0px)]"],variants:{variant:{info:"bg-info-muted outline-info-bold",advisory:"bg-advisory-muted outline-advisory-bold",normal:"bg-normal-muted outline-normal-bold",serious:"bg-serious-muted outline-serious-bold",critical:"bg-critical-muted outline-critical-bold"}},defaultVariants:e});export{o as BadgeStyles,e as BadgeStylesDefaults};//# sourceMappingURL=styles.js.map
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/badge/styles.ts"],"names":["BadgeStyles","tv","t"],"mappings":"sCAeE,MAAA,CAAS,CAAA,CAAA,OAGEA,CAAcC,MACzB,CAAA,CAAM,CACJ,CAAAC,EAAA,CAAA,CAAA,IAAA,CAAA,CAAA,wIACA,CAAA,8GAEA,CAAA,oFACA,CAAA,uFACA,CAAA,mFAEQ,CACR,QAAS,CACP,CAAA,OAAM,CAAA,CAAA,IAAA,CAAA,iCACI,CAAA,QAAA,CAAA,yCACF,CAAA,MAAA,CAAA,qFAEE,CAAA,QAAA,CAAA,yCAGd,CAAA,CAAA,CAAA,eACD,CAAA,CAAA,CAAA","file":"styles.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { tv } from '@/lib/utils';\n\nexport const BadgeStylesDefaults = {\n variant: 'info',\n} as const;\n\nexport const BadgeStyles = tv({\n base: [\n 'group/badge fg-primary-bold inline-flex items-center justify-center rounded-full px-xs text-body-xs outline empty:size-s empty:px-none',\n '[&[data-placement]]:absolute',\n 'placement-top:-translate-y-1/2 placement-top:top-[attr(data-offset-y_px,0px)]',\n 'placement-right:right-[attr(data-offset-x_px,0px)] placement-right:translate-x-1/2',\n 'placement-bottom:bottom-[attr(data-offset-y_px,0px)] placement-bottom:translate-y-1/2',\n 'placement-left:-translate-x-1/2 placement-left:left-[attr(data-offset-x_px,0px)]',\n ],\n variants: {\n variant: {\n info: 'bg-info-muted outline-info-bold',\n advisory: 'bg-advisory-muted outline-advisory-bold',\n normal: 'bg-normal-muted outline-normal-bold',\n serious: 'bg-serious-muted outline-serious-bold',\n critical: 'bg-critical-muted outline-critical-bold',\n },\n },\n defaultVariants: BadgeStylesDefaults,\n});\n"]}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
|
|
4
|
-
declare const BreadcrumbsStyles: tailwind_variants.TVReturnType<{
|
|
5
|
-
[key: string]: {
|
|
6
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
7
|
-
link?: tailwind_merge.ClassNameValue;
|
|
8
|
-
list?: tailwind_merge.ClassNameValue;
|
|
9
|
-
separator?: tailwind_merge.ClassNameValue;
|
|
10
|
-
item?: tailwind_merge.ClassNameValue;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
} | {
|
|
14
|
-
[x: string]: {
|
|
15
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
16
|
-
link?: tailwind_merge.ClassNameValue;
|
|
17
|
-
list?: tailwind_merge.ClassNameValue;
|
|
18
|
-
separator?: tailwind_merge.ClassNameValue;
|
|
19
|
-
item?: tailwind_merge.ClassNameValue;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
} | {}, {
|
|
23
|
-
list: string;
|
|
24
|
-
item: string;
|
|
25
|
-
link: string;
|
|
26
|
-
separator: string;
|
|
27
|
-
}, undefined, {
|
|
28
|
-
[key: string]: {
|
|
29
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
30
|
-
link?: tailwind_merge.ClassNameValue;
|
|
31
|
-
list?: tailwind_merge.ClassNameValue;
|
|
32
|
-
separator?: tailwind_merge.ClassNameValue;
|
|
33
|
-
item?: tailwind_merge.ClassNameValue;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
} | {}, {
|
|
37
|
-
list: string;
|
|
38
|
-
item: string;
|
|
39
|
-
link: string;
|
|
40
|
-
separator: string;
|
|
41
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
42
|
-
list: string;
|
|
43
|
-
item: string;
|
|
44
|
-
link: string;
|
|
45
|
-
separator: string;
|
|
46
|
-
}, undefined, unknown, unknown>>;
|
|
47
|
-
|
|
48
|
-
export { BreadcrumbsStyles };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {tv}from'./../../lib/utils.js';const t=tv({slots:{list:"fg-primary-muted flex items-center gap-s",item:"group/breadcrumb flex items-center gap-s",link:"current:fg-accent-primary-bold hover:fg-primary-bold",separator:"group-current/breadcrumb:hidden"}});export{t as BreadcrumbsStyles};//# sourceMappingURL=styles.js.map
|
|
2
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/breadcrumbs/styles.ts"],"names":["r"],"mappings":"sCAeE,MAAA,CAAO,CACLA,EAAA,CAAA,CAAA,KAAM,CAAA,CAAA,IAAA,CAAA,0CACA,CAAA,IAAA,CAAA,sGAEN,CAAW,SAAA,CAAA,iCAEd,CAAA,CAAA","file":"styles.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { tv } from '@/lib/utils';\n\nexport const BreadcrumbsStyles = tv({\n slots: {\n list: 'fg-primary-muted flex items-center gap-s',\n item: 'group/breadcrumb flex items-center gap-s',\n link: 'current:fg-accent-primary-bold hover:fg-primary-bold',\n separator: 'group-current/breadcrumb:hidden',\n },\n});\n"]}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
|
|
4
|
-
declare const ButtonStylesDefaults: {
|
|
5
|
-
readonly variant: "filled";
|
|
6
|
-
};
|
|
7
|
-
declare const ButtonStyles: tailwind_variants.TVReturnType<{} | {
|
|
8
|
-
variant: {
|
|
9
|
-
filled: tailwind_merge.ClassNameValue | {};
|
|
10
|
-
outline: tailwind_merge.ClassNameValue | {};
|
|
11
|
-
flat: tailwind_merge.ClassNameValue | {};
|
|
12
|
-
icon: tailwind_merge.ClassNameValue | {};
|
|
13
|
-
floating: tailwind_merge.ClassNameValue | {};
|
|
14
|
-
};
|
|
15
|
-
}, undefined, undefined, {
|
|
16
|
-
variant: {
|
|
17
|
-
filled: string[];
|
|
18
|
-
outline: string[];
|
|
19
|
-
flat: string[];
|
|
20
|
-
icon: string[];
|
|
21
|
-
floating: string[];
|
|
22
|
-
};
|
|
23
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
24
|
-
variant: {
|
|
25
|
-
filled: string[];
|
|
26
|
-
outline: string[];
|
|
27
|
-
flat: string[];
|
|
28
|
-
icon: string[];
|
|
29
|
-
floating: string[];
|
|
30
|
-
};
|
|
31
|
-
}, undefined, string[], {
|
|
32
|
-
variant: {
|
|
33
|
-
filled: string[];
|
|
34
|
-
outline: string[];
|
|
35
|
-
flat: string[];
|
|
36
|
-
icon: string[];
|
|
37
|
-
floating: string[];
|
|
38
|
-
};
|
|
39
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
40
|
-
variant: {
|
|
41
|
-
filled: string[];
|
|
42
|
-
outline: string[];
|
|
43
|
-
flat: string[];
|
|
44
|
-
icon: string[];
|
|
45
|
-
floating: string[];
|
|
46
|
-
};
|
|
47
|
-
}, undefined, string[], unknown, unknown>>>;
|
|
48
|
-
declare const LinkButtonStyles: tailwind_variants.TVReturnType<{} | {
|
|
49
|
-
variant: {
|
|
50
|
-
filled: tailwind_merge.ClassNameValue | {};
|
|
51
|
-
outline: tailwind_merge.ClassNameValue | {};
|
|
52
|
-
flat: tailwind_merge.ClassNameValue | {};
|
|
53
|
-
icon: tailwind_merge.ClassNameValue | {};
|
|
54
|
-
floating: tailwind_merge.ClassNameValue | {};
|
|
55
|
-
};
|
|
56
|
-
}, undefined, undefined, {
|
|
57
|
-
variant: {
|
|
58
|
-
filled: string[];
|
|
59
|
-
outline: string[];
|
|
60
|
-
flat: string[];
|
|
61
|
-
icon: string[];
|
|
62
|
-
floating: string[];
|
|
63
|
-
};
|
|
64
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
65
|
-
variant: {
|
|
66
|
-
filled: string[];
|
|
67
|
-
outline: string[];
|
|
68
|
-
flat: string[];
|
|
69
|
-
icon: string[];
|
|
70
|
-
floating: string[];
|
|
71
|
-
};
|
|
72
|
-
}, undefined, string[], {
|
|
73
|
-
variant: {
|
|
74
|
-
filled: string[];
|
|
75
|
-
outline: string[];
|
|
76
|
-
flat: string[];
|
|
77
|
-
icon: string[];
|
|
78
|
-
floating: string[];
|
|
79
|
-
};
|
|
80
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
81
|
-
variant: {
|
|
82
|
-
filled: string[];
|
|
83
|
-
outline: string[];
|
|
84
|
-
flat: string[];
|
|
85
|
-
icon: string[];
|
|
86
|
-
floating: string[];
|
|
87
|
-
};
|
|
88
|
-
}, undefined, string[], unknown, unknown>>>;
|
|
89
|
-
declare const ToggleButtonStyles: tailwind_variants.TVReturnType<{
|
|
90
|
-
variant: {
|
|
91
|
-
flat: string[];
|
|
92
|
-
outline: string[];
|
|
93
|
-
icon: string[];
|
|
94
|
-
};
|
|
95
|
-
}, undefined, string[], {
|
|
96
|
-
variant: {
|
|
97
|
-
filled: string[];
|
|
98
|
-
outline: string[];
|
|
99
|
-
flat: string[];
|
|
100
|
-
icon: string[];
|
|
101
|
-
floating: string[];
|
|
102
|
-
};
|
|
103
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
104
|
-
variant: {
|
|
105
|
-
filled: string[];
|
|
106
|
-
outline: string[];
|
|
107
|
-
flat: string[];
|
|
108
|
-
icon: string[];
|
|
109
|
-
floating: string[];
|
|
110
|
-
};
|
|
111
|
-
}, undefined, string[], {
|
|
112
|
-
variant: {
|
|
113
|
-
filled: string[];
|
|
114
|
-
outline: string[];
|
|
115
|
-
flat: string[];
|
|
116
|
-
icon: string[];
|
|
117
|
-
floating: string[];
|
|
118
|
-
};
|
|
119
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
120
|
-
variant: {
|
|
121
|
-
filled: string[];
|
|
122
|
-
outline: string[];
|
|
123
|
-
flat: string[];
|
|
124
|
-
icon: string[];
|
|
125
|
-
floating: string[];
|
|
126
|
-
};
|
|
127
|
-
}, undefined, string[], unknown, unknown>>>;
|
|
128
|
-
|
|
129
|
-
export { ButtonStyles, ButtonStylesDefaults, LinkButtonStyles, ToggleButtonStyles };
|