@chotot/clad-ui 3.0.0-next.2 → 3.0.0-next.4
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/CHANGELOG.md +675 -0
- package/README.md +173 -131
- package/dist/brand/ChototLogoText.d.ts +5 -0
- package/dist/brand/CtC2C.d.ts +5 -0
- package/dist/brand/CtProperty.d.ts +5 -0
- package/dist/brand/CtVehicle.d.ts +5 -0
- package/dist/brand/Tot.d.ts +5 -0
- package/dist/brand/index.d.ts +5 -0
- package/dist/chunk-Bmb41Sf3.cjs +1 -0
- package/dist/clad-ui.cjs +2 -0
- package/dist/clad-ui.d.ts +2 -0
- package/dist/clad-ui.es.js +9000 -4224
- package/dist/components/Announcer/Announcer.d.ts +3 -54
- package/dist/components/Announcer/announcer.styles.d.ts +39 -0
- package/dist/components/Announcer/index.d.ts +2 -0
- package/dist/components/Announcer/types.d.ts +41 -0
- package/dist/components/Badge/Badge.d.ts +2 -44
- package/dist/components/Badge/badge.styles.d.ts +57 -0
- package/dist/components/Badge/index.d.ts +4 -0
- package/dist/components/Badge/types.d.ts +33 -0
- package/dist/components/Box/Box.d.ts +7 -99
- package/dist/components/Box/index.d.ts +2 -0
- package/dist/components/Box/types.d.ts +89 -0
- package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts +3 -5
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -17
- package/dist/components/Breadcrumbs/breadcrumbs.styles.d.ts +2 -0
- package/dist/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/components/Breadcrumbs/types.d.ts +18 -0
- package/dist/components/Button/Button.d.ts +3 -76
- package/dist/components/Button/ButtonLink.d.ts +2 -3
- package/dist/components/Button/GhostButton.d.ts +3 -47
- package/dist/components/Button/IconButton.d.ts +2 -10
- package/dist/components/Button/button.styles.d.ts +242 -0
- package/dist/components/Button/constant.d.ts +1 -2
- package/dist/components/Button/index.d.ts +5 -0
- package/dist/components/Button/types.d.ts +72 -0
- package/dist/components/Checkbox/Checkbox.d.ts +3 -46
- package/dist/components/Checkbox/checkbox.styles.d.ts +27 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/types.d.ts +40 -0
- package/dist/components/Chip/Chip.d.ts +3 -70
- package/dist/components/Chip/chip.styles.d.ts +66 -0
- package/dist/components/Chip/index.d.ts +2 -0
- package/dist/components/Chip/types.d.ts +22 -0
- package/dist/components/CurrencyInput/CurrencyInput.d.ts +3 -39
- package/dist/components/CurrencyInput/currency-input.styles.d.ts +21 -0
- package/dist/components/CurrencyInput/index.d.ts +5 -0
- package/dist/components/CurrencyInput/types.d.ts +96 -0
- package/dist/components/CurrencyInput/utils.d.ts +18 -0
- package/dist/components/DatePicker/DatePicker.d.ts +2 -138
- package/dist/components/DatePicker/DateTimePicker.d.ts +2 -137
- package/dist/components/DatePicker/date-picker.styles.d.ts +9 -0
- package/dist/components/DatePicker/date-time-picker.styles.d.ts +10 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/DatePicker/types.d.ts +286 -0
- package/dist/components/Drawer/Drawer.d.ts +36 -0
- package/dist/components/Drawer/Drawer.pw.fixtures.d.ts +9 -0
- package/dist/components/Drawer/index.d.ts +3 -0
- package/dist/components/Drawer/types.d.ts +191 -0
- package/dist/components/Dropdown/Dropdown.d.ts +3 -94
- package/dist/components/Dropdown/dropdown.styles.d.ts +18 -0
- package/dist/components/Dropdown/index.d.ts +4 -0
- package/dist/components/Dropdown/types.d.ts +89 -0
- package/dist/components/EmptyState/EmptyState.d.ts +4 -0
- package/dist/components/EmptyState/empty-state.styles.d.ts +3 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/types.d.ts +55 -0
- package/dist/components/Grid/Col.d.ts +4 -35
- package/dist/components/Grid/Grid.d.ts +8 -55
- package/dist/components/Grid/Grid.pw.fixtures.d.ts +3 -0
- package/dist/components/Grid/index.d.ts +3 -0
- package/dist/components/Grid/types.d.ts +66 -0
- package/dist/components/Input/Input.d.ts +3 -116
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/input.styles.d.ts +24 -0
- package/dist/components/Input/types.d.ts +55 -0
- package/dist/components/InputGroup/InputGroup.d.ts +4 -0
- package/dist/components/InputGroup/index.d.ts +4 -0
- package/dist/components/InputGroup/input-group.styles.d.ts +18 -0
- package/dist/components/InputGroup/types.d.ts +20 -0
- package/dist/components/LegacyDialog/DialogMainIcon.d.ts +3 -0
- package/dist/components/LegacyDialog/LegacyDialog.d.ts +5 -0
- package/dist/components/LegacyDialog/index.d.ts +3 -0
- package/dist/{patterns/LegacyDialog/LegacyDialog.d.ts → components/LegacyDialog/types.d.ts} +2 -10
- package/dist/components/LegacyPopup/LegacyPopup.d.ts +6 -0
- package/dist/components/LegacyPopup/index.d.ts +2 -0
- package/dist/{patterns/LegacyPopup/LegacyPopup.d.ts → components/LegacyPopup/types.d.ts} +4 -15
- package/dist/components/MultiSearchDropdown/MultiSearchDropdown.d.ts +10 -0
- package/dist/components/MultiSearchDropdown/index.d.ts +4 -0
- package/dist/components/MultiSearchDropdown/multi-search-dropdown.styles.d.ts +18 -0
- package/dist/{patterns/MultiSearchDropdown/MultiSearchDropdown.d.ts → components/MultiSearchDropdown/types.d.ts} +6 -19
- package/dist/components/Pagination/PageItem.d.ts +3 -21
- package/dist/components/Pagination/Pagination.d.ts +2 -46
- package/dist/components/Pagination/index.d.ts +5 -0
- package/dist/components/Pagination/pagination.styles.d.ts +37 -0
- package/dist/components/Pagination/types.d.ts +66 -0
- package/dist/components/Popover/Popover.d.ts +4 -44
- package/dist/components/Popover/Popover.pw.fixtures.d.ts +6 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/popover.styles.d.ts +1 -0
- package/dist/components/Popover/types.d.ts +44 -0
- package/dist/components/Popup/Popup.d.ts +31 -0
- package/dist/components/Popup/Popup.pw.fixtures.d.ts +5 -0
- package/dist/components/Popup/index.d.ts +3 -0
- package/dist/components/Popup/types.d.ts +145 -0
- package/dist/components/RadioButton/RadioButton.d.ts +3 -51
- package/dist/components/RadioButton/index.d.ts +4 -0
- package/dist/components/RadioButton/radio-button.styles.d.ts +27 -0
- package/dist/components/RadioButton/types.d.ts +46 -0
- package/dist/components/RangeInput/RangeInput.d.ts +4 -0
- package/dist/components/RangeInput/index.d.ts +3 -0
- package/dist/components/RangeInput/range-input.styles.d.ts +1 -0
- package/dist/{patterns/RangeInput/RangeInput.d.ts → components/RangeInput/types.d.ts} +1 -4
- package/dist/components/RowItem/RowItem.d.ts +8 -76
- package/dist/components/RowItem/index.d.ts +2 -0
- package/dist/components/RowItem/rowitem.styles.d.ts +36 -0
- package/dist/components/RowItem/types.d.ts +66 -0
- package/dist/components/SearchInput/SearchInput.d.ts +5 -0
- package/dist/components/SearchInput/index.d.ts +3 -0
- package/dist/components/SearchInput/search-input.styles.d.ts +18 -0
- package/dist/{patterns/SearchInput/SearchInput.d.ts → components/SearchInput/types.d.ts} +19 -25
- package/dist/components/Searchbar/Searchbar.d.ts +3 -0
- package/dist/components/Searchbar/index.d.ts +3 -0
- package/dist/components/Searchbar/searchbar.styles.d.ts +1 -0
- package/dist/{patterns/Searchbar/Searchbar.d.ts → components/Searchbar/types.d.ts} +6 -9
- package/dist/components/ShapeIcon/ShapeIcon.d.ts +3 -53
- package/dist/components/ShapeIcon/index.d.ts +2 -0
- package/dist/components/ShapeIcon/shape-icon.styles.d.ts +156 -0
- package/dist/components/ShapeIcon/types.d.ts +5 -0
- package/dist/components/Slider/Slider.d.ts +3 -57
- package/dist/components/Slider/index.d.ts +3 -0
- package/dist/components/Slider/slider.styles.d.ts +1 -0
- package/dist/components/Slider/types.d.ts +59 -0
- package/dist/components/Snack/Snack.d.ts +4 -48
- package/dist/components/Snack/index.d.ts +3 -0
- package/dist/components/Snack/snack.styles.d.ts +21 -0
- package/dist/components/Snack/types.d.ts +48 -0
- package/dist/components/Tabs/Tab.d.ts +3 -67
- package/dist/components/Tabs/Tabs.d.ts +14 -61
- package/dist/components/Tabs/index.d.ts +4 -0
- package/dist/components/Tabs/tabs.styles.d.ts +59 -0
- package/dist/components/Tabs/types.d.ts +97 -0
- package/dist/components/TagCloud/TagCloud.d.ts +11 -0
- package/dist/components/TagCloud/index.d.ts +2 -0
- package/dist/components/TagCloud/tagcloud.styles.d.ts +18 -0
- package/dist/components/TagCloud/types.d.ts +26 -0
- package/dist/components/TextArea/TextArea.d.ts +3 -100
- package/dist/components/TextArea/index.d.ts +4 -0
- package/dist/components/TextArea/text-area.styles.d.ts +21 -0
- package/dist/components/TextArea/types.d.ts +98 -0
- package/dist/components/TextLabel/TextLabel.d.ts +3 -35
- package/dist/components/TextLabel/index.d.ts +2 -0
- package/dist/components/TextLabel/textlabel.styles.d.ts +51 -0
- package/dist/components/TextLabel/types.d.ts +32 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -41
- package/dist/components/ToggleSwitch/index.d.ts +4 -0
- package/dist/components/ToggleSwitch/toggle-switch.styles.d.ts +39 -0
- package/dist/components/ToggleSwitch/types.d.ts +33 -0
- package/dist/components/Tooltip/Tooltip.d.ts +4 -98
- package/dist/components/Tooltip/Tooltip.pw.fixtures.d.ts +1 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/tooltip.styles.d.ts +18 -0
- package/dist/components/Tooltip/types.d.ts +24 -0
- package/dist/forge/index.cjs +0 -0
- package/dist/forge/index.d.ts +8 -0
- package/dist/forge/index.es.js +0 -0
- package/dist/icons.cjs +1 -0
- package/dist/icons.d.ts +1 -0
- package/dist/icons.es.js +1 -0
- package/dist/index.d.ts +82 -71
- package/dist/styles.css +2 -0
- package/dist/{utils/types.d.ts → types/index.d.ts} +0 -1
- package/dist/typography/BodyAnnotation.d.ts +8 -6
- package/dist/typography/BodyCaption.d.ts +8 -6
- package/dist/typography/BodyPage.d.ts +8 -6
- package/dist/typography/BodySection.d.ts +8 -6
- package/dist/typography/DisplayAnnotation.d.ts +8 -6
- package/dist/typography/DisplayCaption.d.ts +8 -6
- package/dist/typography/DisplayPage.d.ts +8 -6
- package/dist/typography/DisplayPrice.d.ts +21 -0
- package/dist/typography/DisplaySection.d.ts +8 -6
- package/dist/typography/HeaderAnnotation.d.ts +8 -6
- package/dist/typography/HeaderCaption.d.ts +8 -6
- package/dist/typography/HeaderPage.d.ts +8 -6
- package/dist/typography/HeaderSection.d.ts +8 -6
- package/dist/typography/LabelAnnotation.d.ts +8 -6
- package/dist/typography/LabelCaption.d.ts +8 -6
- package/dist/typography/LabelPage.d.ts +8 -6
- package/dist/typography/LabelSection.d.ts +8 -6
- package/dist/typography/NoteCaption.d.ts +8 -6
- package/dist/typography/NotePage.d.ts +8 -6
- package/dist/typography/NoteSection.d.ts +8 -6
- package/dist/typography/TaglineAnnotation.d.ts +8 -6
- package/dist/typography/TaglineCaption.d.ts +8 -6
- package/dist/typography/TaglineFootext.d.ts +8 -6
- package/dist/typography/TaglineSection.d.ts +8 -6
- package/dist/typography/index.d.ts +25 -24
- package/dist/utils/_inlineCreatePortal.d.ts +0 -1
- package/dist/utils/bundleCss.cjs +1 -0
- package/dist/utils/bundleCss.d.ts +6 -0
- package/dist/utils/bundleCss.es.js +18 -0
- package/dist/utils/cleanHtml.d.ts +4 -7
- package/dist/utils/cn.d.ts +5 -0
- package/dist/utils/createUniversalPortal.d.ts +4 -14
- package/dist/utils/floating.d.ts +52 -0
- package/dist/utils/getBreakpointsValues.d.ts +4 -9
- package/dist/utils/sizes.d.ts +28 -0
- package/dist/utils/storyStyles.d.ts +21 -0
- package/dist/utils/themeTokens.d.ts +327 -0
- package/dist/utils/{scrollLock/useBodyScrollLock.d.ts → useBodyScrollLock.d.ts} +0 -1
- package/dist/utils/useScrollTop.d.ts +8 -0
- package/package.json +99 -99
- package/scripts/postinstall.cjs +180 -0
- package/skills/clad-ui/SKILL.md +109 -0
- package/skills/clad-ui/agents/openai.yaml +4 -0
- package/skills/clad-ui/references/components-display-layout.md +295 -0
- package/skills/clad-ui/references/components-inputs.md +449 -0
- package/skills/clad-ui/references/components-overlays-nav.md +314 -0
- package/skills/clad-ui/references/tokens.md +134 -0
- package/skills/clad-ui-feedback/SKILL.md +128 -0
- package/skills/migrate-clad-ui-v3/SKILL.md +123 -0
- package/skills/migrate-clad-ui-v3/agents/openai.yaml +4 -0
- package/skills/migrate-clad-ui-v3/references/component-api-changes.md +139 -0
- package/skills/migrate-clad-ui-v3/references/token-and-linaria-mapping.md +186 -0
- package/src/styles/base/base.css +440 -0
- package/src/styles/components/announcer.css +182 -0
- package/src/styles/components/badge.css +102 -0
- package/src/styles/components/box.css +61 -0
- package/src/styles/components/breadcrumbs.css +75 -0
- package/src/styles/components/button.css +527 -0
- package/src/styles/components/checkbox.css +115 -0
- package/src/styles/components/chip.css +155 -0
- package/src/styles/components/currency-input.css +146 -0
- package/src/styles/components/date-picker.css +305 -0
- package/src/styles/components/date-time-picker.css +64 -0
- package/src/styles/components/drawer.css +496 -0
- package/src/styles/components/dropdown.css +186 -0
- package/src/styles/components/empty-state.css +30 -0
- package/src/styles/components/grid.css +212 -0
- package/src/styles/components/index.css +36 -0
- package/src/styles/components/input-group.css +85 -0
- package/src/styles/components/input.css +255 -0
- package/src/styles/components/legacy-dialog.css +129 -0
- package/src/styles/components/legacy-popup.css +209 -0
- package/src/styles/components/multi-search-dropdown.css +240 -0
- package/src/styles/components/pagination.css +68 -0
- package/src/styles/components/popover.css +8 -0
- package/src/styles/components/popup.css +331 -0
- package/src/styles/components/radio-button.css +130 -0
- package/src/styles/components/range-input.css +40 -0
- package/src/styles/components/rowitem.css +75 -0
- package/src/styles/components/search-input.css +89 -0
- package/src/styles/components/searchbar.css +46 -0
- package/src/styles/components/shape-icon.css +199 -0
- package/src/styles/components/slider.css +232 -0
- package/src/styles/components/snack.css +144 -0
- package/src/styles/components/tabs.css +128 -0
- package/src/styles/components/tagcloud.css +50 -0
- package/src/styles/components/text-area.css +176 -0
- package/src/styles/components/textlabel.css +75 -0
- package/src/styles/components/toggle-switch.css +147 -0
- package/src/styles/components/tooltip.css +93 -0
- package/src/styles/index.css +10 -0
- package/src/styles/preset.css +6 -0
- package/src/styles/theme/colors/base.css +108 -0
- package/src/styles/theme/colors/semantic.css +135 -0
- package/src/styles/theme/index.css +57 -0
- package/src/styles/theme/typography/base.css +53 -0
- package/src/styles/theme/typography/semantic.css +176 -0
- package/src/styles/theme/variables.css +83 -0
- package/dist/components/Announcer/Announcer.d.ts.map +0 -1
- package/dist/components/Announcer/Announcer.styles.d.ts +0 -30
- package/dist/components/Announcer/Announcer.styles.d.ts.map +0 -1
- package/dist/components/Badge/Badge.d.ts.map +0 -1
- package/dist/components/Badge/Badge.styles.d.ts +0 -26
- package/dist/components/Badge/Badge.styles.d.ts.map +0 -1
- package/dist/components/Box/Box.d.ts.map +0 -1
- package/dist/components/Box/Box.styles.d.ts +0 -21
- package/dist/components/Box/Box.styles.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -10
- package/dist/components/Breadcrumbs/Breadcrumbs.styles.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/Button.styles.d.ts +0 -3
- package/dist/components/Button/Button.styles.d.ts.map +0 -1
- package/dist/components/Button/ButtonLink.d.ts.map +0 -1
- package/dist/components/Button/GhostButton.d.ts.map +0 -1
- package/dist/components/Button/GhostButton.styles.d.ts +0 -3
- package/dist/components/Button/GhostButton.styles.d.ts.map +0 -1
- package/dist/components/Button/IconButton.d.ts.map +0 -1
- package/dist/components/Button/constant.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.styles.d.ts +0 -5
- package/dist/components/Checkbox/Checkbox.styles.d.ts.map +0 -1
- package/dist/components/Chip/Chip.d.ts.map +0 -1
- package/dist/components/Chip/Chip.styles.d.ts +0 -13
- package/dist/components/Chip/Chip.styles.d.ts.map +0 -1
- package/dist/components/CurrencyInput/CurrencyInput.d.ts.map +0 -1
- package/dist/components/CurrencyInput/CurrencyInput.styles.d.ts +0 -27
- package/dist/components/CurrencyInput/CurrencyInput.styles.d.ts.map +0 -1
- package/dist/components/CurrencyInput/utils/_cleanValue.d.ts +0 -12
- package/dist/components/CurrencyInput/utils/_cleanValue.d.ts.map +0 -1
- package/dist/components/CurrencyInput/utils/_formatValue.d.ts +0 -6
- package/dist/components/CurrencyInput/utils/_formatValue.d.ts.map +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/dist/components/DatePicker/DateTimePicker.d.ts.map +0 -1
- package/dist/components/DatePicker/DateTimePicker.styles.d.ts +0 -61
- package/dist/components/DatePicker/DateTimePicker.styles.d.ts.map +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/components/Dropdown/Dropdown.styles.d.ts +0 -11
- package/dist/components/Dropdown/Dropdown.styles.d.ts.map +0 -1
- package/dist/components/Grid/Col.d.ts.map +0 -1
- package/dist/components/Grid/Grid.d.ts.map +0 -1
- package/dist/components/Grid/Grid.styles.d.ts +0 -33
- package/dist/components/Grid/Grid.styles.d.ts.map +0 -1
- package/dist/components/Input/Input.d.ts.map +0 -1
- package/dist/components/Input/Input.styles.d.ts +0 -36
- package/dist/components/Input/Input.styles.d.ts.map +0 -1
- package/dist/components/Pagination/PageItem.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.style.d.ts +0 -7
- package/dist/components/Pagination/Pagination.style.d.ts.map +0 -1
- package/dist/components/Popover/Popover.d.ts.map +0 -1
- package/dist/components/Popover/Popover.styles.d.ts +0 -4
- package/dist/components/Popover/Popover.styles.d.ts.map +0 -1
- package/dist/components/RadioButton/RadioButton.d.ts.map +0 -1
- package/dist/components/RadioButton/RadioButton.styles.d.ts +0 -12
- package/dist/components/RadioButton/RadioButton.styles.d.ts.map +0 -1
- package/dist/components/RowItem/RowItem.d.ts.map +0 -1
- package/dist/components/RowItem/RowItem.styles.d.ts +0 -33
- package/dist/components/RowItem/RowItem.styles.d.ts.map +0 -1
- package/dist/components/ShapeIcon/ShapeIcon.d.ts.map +0 -1
- package/dist/components/ShapeIcon/ShapeIcon.styles.d.ts +0 -15
- package/dist/components/ShapeIcon/ShapeIcon.styles.d.ts.map +0 -1
- package/dist/components/Slider/Slider.d.ts.map +0 -1
- package/dist/components/Slider/Slider.styles.d.ts +0 -24
- package/dist/components/Slider/Slider.styles.d.ts.map +0 -1
- package/dist/components/Snack/Snack.d.ts.map +0 -1
- package/dist/components/Snack/Snack.styles.d.ts +0 -20
- package/dist/components/Snack/Snack.styles.d.ts.map +0 -1
- package/dist/components/Tabs/Tab.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.styles.d.ts +0 -43
- package/dist/components/Tabs/Tabs.styles.d.ts.map +0 -1
- package/dist/components/TextArea/TextArea.d.ts.map +0 -1
- package/dist/components/TextArea/TextArea.styles.d.ts +0 -19
- package/dist/components/TextArea/TextArea.styles.d.ts.map +0 -1
- package/dist/components/TextLabel/TextLabel.d.ts.map +0 -1
- package/dist/components/TextLabel/TextLabel.styles.d.ts +0 -10
- package/dist/components/TextLabel/TextLabel.styles.d.ts.map +0 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +0 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.styles.d.ts +0 -22
- package/dist/components/ToggleSwitch/ToggleSwitch.styles.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +0 -1
- package/dist/components/Tooltip/Tooltip.styles.d.ts +0 -33
- package/dist/components/Tooltip/Tooltip.styles.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -62
- package/dist/components/index.d.ts.map +0 -1
- package/dist/css/baseline.d.ts +0 -15
- package/dist/css/baseline.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/patterns/Drawer/Drawer.d.ts +0 -110
- package/dist/patterns/Drawer/Drawer.d.ts.map +0 -1
- package/dist/patterns/Drawer/Drawer.styles.d.ts +0 -39
- package/dist/patterns/Drawer/Drawer.styles.d.ts.map +0 -1
- package/dist/patterns/EmptyState/EmptyState.d.ts +0 -36
- package/dist/patterns/EmptyState/EmptyState.d.ts.map +0 -1
- package/dist/patterns/EmptyState/EmptyState.styles.d.ts +0 -4
- package/dist/patterns/EmptyState/EmptyState.styles.d.ts.map +0 -1
- package/dist/patterns/InputGroup/InputGroup.d.ts +0 -26
- package/dist/patterns/InputGroup/InputGroup.d.ts.map +0 -1
- package/dist/patterns/InputGroup/InputGroup.styles.d.ts +0 -8
- package/dist/patterns/InputGroup/InputGroup.styles.d.ts.map +0 -1
- package/dist/patterns/LegacyDialog/DialogMainIcon.d.ts +0 -2
- package/dist/patterns/LegacyDialog/DialogMainIcon.d.ts.map +0 -1
- package/dist/patterns/LegacyDialog/LegacyDialog.d.ts.map +0 -1
- package/dist/patterns/LegacyDialog/LegacyDialog.styles.d.ts +0 -13
- package/dist/patterns/LegacyDialog/LegacyDialog.styles.d.ts.map +0 -1
- package/dist/patterns/LegacyPopup/LegacyPopup.d.ts.map +0 -1
- package/dist/patterns/LegacyPopup/LegacyPopup.styles.d.ts +0 -27
- package/dist/patterns/LegacyPopup/LegacyPopup.styles.d.ts.map +0 -1
- package/dist/patterns/MultiSearchDropdown/MultiSearchDropdown.d.ts.map +0 -1
- package/dist/patterns/MultiSearchDropdown/MultiSearchDropdown.styles.d.ts +0 -26
- package/dist/patterns/MultiSearchDropdown/MultiSearchDropdown.styles.d.ts.map +0 -1
- package/dist/patterns/Popup/Popup.d.ts +0 -92
- package/dist/patterns/Popup/Popup.d.ts.map +0 -1
- package/dist/patterns/Popup/Popup.styles.d.ts +0 -41
- package/dist/patterns/Popup/Popup.styles.d.ts.map +0 -1
- package/dist/patterns/RangeInput/RangeInput.d.ts.map +0 -1
- package/dist/patterns/RangeInput/RangeInput.styles.d.ts +0 -5
- package/dist/patterns/RangeInput/RangeInput.styles.d.ts.map +0 -1
- package/dist/patterns/SearchInput/SearchInput.d.ts.map +0 -1
- package/dist/patterns/SearchInput/SearchInput.styles.d.ts +0 -10
- package/dist/patterns/SearchInput/SearchInput.styles.d.ts.map +0 -1
- package/dist/patterns/Searchbar/Searchbar.d.ts.map +0 -1
- package/dist/patterns/Searchbar/Searchbar.styles.d.ts +0 -3
- package/dist/patterns/Searchbar/Searchbar.styles.d.ts.map +0 -1
- package/dist/patterns/TagCloud/TagCloud.d.ts +0 -76
- package/dist/patterns/TagCloud/TagCloud.d.ts.map +0 -1
- package/dist/patterns/TagCloud/TagCloud.styles.d.ts +0 -15
- package/dist/patterns/TagCloud/TagCloud.styles.d.ts.map +0 -1
- package/dist/patterns/TagCloud/TagCloudMultiActive.d.ts +0 -25
- package/dist/patterns/TagCloud/TagCloudMultiActive.d.ts.map +0 -1
- package/dist/patterns/TagCloud/TagCloudSingleActive.d.ts +0 -22
- package/dist/patterns/TagCloud/TagCloudSingleActive.d.ts.map +0 -1
- package/dist/patterns/index.d.ts +0 -23
- package/dist/patterns/index.d.ts.map +0 -1
- package/dist/theme/chotot.d.ts +0 -1371
- package/dist/theme/chotot.d.ts.map +0 -1
- package/dist/theme/ct-job.d.ts +0 -826
- package/dist/theme/ct-job.d.ts.map +0 -1
- package/dist/theme/ct-pty.d.ts +0 -826
- package/dist/theme/ct-pty.d.ts.map +0 -1
- package/dist/theme/ct-veh.d.ts +0 -591
- package/dist/theme/ct-veh.d.ts.map +0 -1
- package/dist/theme/index.d.ts +0 -5
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/mudah.d.ts +0 -248
- package/dist/theme/mudah.d.ts.map +0 -1
- package/dist/theme/types.d.ts +0 -58
- package/dist/theme/types.d.ts.map +0 -1
- package/dist/theme-chotot.css +0 -2
- package/dist/theme-job.css +0 -2
- package/dist/theme-pty.css +0 -2
- package/dist/theme-veh.css +0 -2
- package/dist/typography/BodyAnnotation.d.ts.map +0 -1
- package/dist/typography/BodyCaption.d.ts.map +0 -1
- package/dist/typography/BodyPage.d.ts.map +0 -1
- package/dist/typography/BodySection.d.ts.map +0 -1
- package/dist/typography/DisplayAnnotation.d.ts.map +0 -1
- package/dist/typography/DisplayCaption.d.ts.map +0 -1
- package/dist/typography/DisplayPage.d.ts.map +0 -1
- package/dist/typography/DisplaySection.d.ts.map +0 -1
- package/dist/typography/HeaderAnnotation.d.ts.map +0 -1
- package/dist/typography/HeaderCaption.d.ts.map +0 -1
- package/dist/typography/HeaderPage.d.ts.map +0 -1
- package/dist/typography/HeaderSection.d.ts.map +0 -1
- package/dist/typography/LabelAnnotation.d.ts.map +0 -1
- package/dist/typography/LabelCaption.d.ts.map +0 -1
- package/dist/typography/LabelPage.d.ts.map +0 -1
- package/dist/typography/LabelSection.d.ts.map +0 -1
- package/dist/typography/NoteCaption.d.ts.map +0 -1
- package/dist/typography/NotePage.d.ts.map +0 -1
- package/dist/typography/NoteSection.d.ts.map +0 -1
- package/dist/typography/TaglineAnnotation.d.ts.map +0 -1
- package/dist/typography/TaglineCaption.d.ts.map +0 -1
- package/dist/typography/TaglineFootext.d.ts.map +0 -1
- package/dist/typography/TaglineSection.d.ts.map +0 -1
- package/dist/typography/index.d.ts.map +0 -1
- package/dist/utils/_inlineCreatePortal.d.ts.map +0 -1
- package/dist/utils/_normalizeArrowKey.d.ts +0 -10
- package/dist/utils/_normalizeArrowKey.d.ts.map +0 -1
- package/dist/utils/_simulateChangeEvent.d.ts +0 -25
- package/dist/utils/_simulateChangeEvent.d.ts.map +0 -1
- package/dist/utils/cleanHtml.d.ts.map +0 -1
- package/dist/utils/createUniversalPortal.d.ts.map +0 -1
- package/dist/utils/cx.d.ts +0 -22
- package/dist/utils/cx.d.ts.map +0 -1
- package/dist/utils/getBreakpointsValues.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/noop.d.ts +0 -9
- package/dist/utils/noop.d.ts.map +0 -1
- package/dist/utils/scrollLock/index.d.ts +0 -7
- package/dist/utils/scrollLock/index.d.ts.map +0 -1
- package/dist/utils/scrollLock/scrollLock.styles.d.ts +0 -6
- package/dist/utils/scrollLock/scrollLock.styles.d.ts.map +0 -1
- package/dist/utils/scrollLock/useBodyScrollLock.d.ts.map +0 -1
- package/dist/utils/scrollTop.d.ts +0 -8
- package/dist/utils/scrollTop.d.ts.map +0 -1
- package/dist/utils/sx.d.ts +0 -174
- package/dist/utils/sx.d.ts.map +0 -1
- package/dist/utils/types.d.ts.map +0 -1
- package/theme/__snapshots__/chotot.spec.js.snap +0 -519
- package/theme/__snapshots__/mudah.spec.js.snap +0 -161
- package/theme/chotot.js +0 -1336
- package/theme/chotot.spec.js +0 -72
- package/theme/ct-job.js +0 -92
- package/theme/ct-pty.js +0 -92
- package/theme/ct-veh.js +0 -92
- package/theme/index.ts +0 -10
- package/theme/mudah.js +0 -333
- package/theme/mudah.spec.js +0 -9
- package/theme/types.ts +0 -61
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface HeaderCaptionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface HeaderCaptionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h2'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface HeaderCaptionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const HeaderCaption:
|
|
17
|
+
export declare const HeaderCaption: {
|
|
18
|
+
({ as, className, children, ...props }: HeaderCaptionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default HeaderCaption;
|
|
19
|
-
//# sourceMappingURL=HeaderCaption.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface HeaderPageProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface HeaderPageProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h2'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface HeaderPageProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const HeaderPage:
|
|
17
|
+
export declare const HeaderPage: {
|
|
18
|
+
({ as, className, children, ...props }: HeaderPageProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default HeaderPage;
|
|
19
|
-
//# sourceMappingURL=HeaderPage.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface HeaderSectionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface HeaderSectionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h2'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface HeaderSectionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const HeaderSection:
|
|
17
|
+
export declare const HeaderSection: {
|
|
18
|
+
({ as, className, children, ...props }: HeaderSectionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default HeaderSection;
|
|
19
|
-
//# sourceMappingURL=HeaderSection.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface LabelAnnotationProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface LabelAnnotationProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h3'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface LabelAnnotationProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const LabelAnnotation:
|
|
17
|
+
export declare const LabelAnnotation: {
|
|
18
|
+
({ as, className, children, ...props }: LabelAnnotationProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default LabelAnnotation;
|
|
19
|
-
//# sourceMappingURL=LabelAnnotation.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface LabelCaptionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface LabelCaptionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h3'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface LabelCaptionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const LabelCaption:
|
|
17
|
+
export declare const LabelCaption: {
|
|
18
|
+
({ as, className, children, ...props }: LabelCaptionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default LabelCaption;
|
|
19
|
-
//# sourceMappingURL=LabelCaption.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface LabelPageProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface LabelPageProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h3'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface LabelPageProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const LabelPage:
|
|
17
|
+
export declare const LabelPage: {
|
|
18
|
+
({ as, className, children, ...props }: LabelPageProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default LabelPage;
|
|
19
|
-
//# sourceMappingURL=LabelPage.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface LabelSectionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface LabelSectionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'h3'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface LabelSectionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const LabelSection:
|
|
17
|
+
export declare const LabelSection: {
|
|
18
|
+
({ as, className, children, ...props }: LabelSectionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default LabelSection;
|
|
19
|
-
//# sourceMappingURL=LabelSection.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface NoteCaptionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface NoteCaptionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'p'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface NoteCaptionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const NoteCaption:
|
|
17
|
+
export declare const NoteCaption: {
|
|
18
|
+
({ as, className, children, ...props }: NoteCaptionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default NoteCaption;
|
|
19
|
-
//# sourceMappingURL=NoteCaption.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface NotePageProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface NotePageProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'p'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface NotePageProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const NotePage:
|
|
17
|
+
export declare const NotePage: {
|
|
18
|
+
({ as, className, children, ...props }: NotePageProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default NotePage;
|
|
19
|
-
//# sourceMappingURL=NotePage.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface NoteSectionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface NoteSectionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'p'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface NoteSectionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const NoteSection:
|
|
17
|
+
export declare const NoteSection: {
|
|
18
|
+
({ as, className, children, ...props }: NoteSectionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default NoteSection;
|
|
19
|
-
//# sourceMappingURL=NoteSection.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface TaglineAnnotationProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface TaglineAnnotationProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'span'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface TaglineAnnotationProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const TaglineAnnotation:
|
|
17
|
+
export declare const TaglineAnnotation: {
|
|
18
|
+
({ as, className, children, ...props }: TaglineAnnotationProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default TaglineAnnotation;
|
|
19
|
-
//# sourceMappingURL=TaglineAnnotation.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface TaglineCaptionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface TaglineCaptionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'span'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface TaglineCaptionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const TaglineCaption:
|
|
17
|
+
export declare const TaglineCaption: {
|
|
18
|
+
({ as, className, children, ...props }: TaglineCaptionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default TaglineCaption;
|
|
19
|
-
//# sourceMappingURL=TaglineCaption.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface TaglineFootextProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface TaglineFootextProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'span'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface TaglineFootextProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const TaglineFootext:
|
|
17
|
+
export declare const TaglineFootext: {
|
|
18
|
+
({ as, className, children, ...props }: TaglineFootextProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default TaglineFootext;
|
|
19
|
-
//# sourceMappingURL=TaglineFootext.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface TaglineSectionProps {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface TaglineSectionProps extends HTMLAttributes<HTMLElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Element or component to be rendered as
|
|
5
5
|
* @default 'span'
|
|
6
6
|
*/
|
|
7
|
-
as?:
|
|
7
|
+
as?: ElementType;
|
|
8
8
|
/**
|
|
9
9
|
* Additional classes to be added to the component
|
|
10
10
|
*/
|
|
@@ -12,8 +12,10 @@ export interface TaglineSectionProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Content of the component
|
|
14
14
|
*/
|
|
15
|
-
children?:
|
|
15
|
+
children?: ReactNode;
|
|
16
16
|
}
|
|
17
|
-
declare const TaglineSection:
|
|
17
|
+
export declare const TaglineSection: {
|
|
18
|
+
({ as, className, children, ...props }: TaglineSectionProps): import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
18
21
|
export default TaglineSection;
|
|
19
|
-
//# sourceMappingURL=TaglineSection.d.ts.map
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
1
|
+
export { DisplayPage } from './DisplayPage';
|
|
2
|
+
export { DisplaySection } from './DisplaySection';
|
|
3
|
+
export { DisplayCaption } from './DisplayCaption';
|
|
4
|
+
export { DisplayAnnotation } from './DisplayAnnotation';
|
|
5
|
+
export { DisplayPrice } from './DisplayPrice';
|
|
6
|
+
export { HeaderPage } from './HeaderPage';
|
|
7
|
+
export { HeaderSection } from './HeaderSection';
|
|
8
|
+
export { HeaderCaption } from './HeaderCaption';
|
|
9
|
+
export { HeaderAnnotation } from './HeaderAnnotation';
|
|
10
|
+
export { LabelPage } from './LabelPage';
|
|
11
|
+
export { LabelSection } from './LabelSection';
|
|
12
|
+
export { LabelCaption } from './LabelCaption';
|
|
13
|
+
export { LabelAnnotation } from './LabelAnnotation';
|
|
14
|
+
export { BodyPage } from './BodyPage';
|
|
15
|
+
export { BodySection } from './BodySection';
|
|
16
|
+
export { BodyCaption } from './BodyCaption';
|
|
17
|
+
export { BodyAnnotation } from './BodyAnnotation';
|
|
18
|
+
export { NotePage } from './NotePage';
|
|
19
|
+
export { NoteSection } from './NoteSection';
|
|
20
|
+
export { NoteCaption } from './NoteCaption';
|
|
21
|
+
export { TaglineCaption } from './TaglineCaption';
|
|
22
|
+
export { TaglineSection } from './TaglineSection';
|
|
23
|
+
export { TaglineFootext } from './TaglineFootext';
|
|
24
|
+
export { TaglineAnnotation } from './TaglineAnnotation';
|
|
24
25
|
export type { DisplayPageProps } from './DisplayPage';
|
|
25
26
|
export type { DisplaySectionProps } from './DisplaySection';
|
|
26
27
|
export type { DisplayCaptionProps } from './DisplayCaption';
|
|
27
28
|
export type { DisplayAnnotationProps } from './DisplayAnnotation';
|
|
29
|
+
export type { DisplayPriceProps } from './DisplayPrice';
|
|
28
30
|
export type { HeaderPageProps } from './HeaderPage';
|
|
29
31
|
export type { HeaderSectionProps } from './HeaderSection';
|
|
30
32
|
export type { HeaderCaptionProps } from './HeaderCaption';
|
|
@@ -44,4 +46,3 @@ export type { TaglineCaptionProps } from './TaglineCaption';
|
|
|
44
46
|
export type { TaglineSectionProps } from './TaglineSection';
|
|
45
47
|
export type { TaglineFootextProps } from './TaglineFootext';
|
|
46
48
|
export type { TaglineAnnotationProps } from './TaglineAnnotation';
|
|
47
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`fs`);t=e.t(t);let n=require(`path`);n=e.t(n);let r=require(`url`);var i=null,a=n.default.resolve(n.default.dirname((0,r.fileURLToPath)({}.url)),`../../src/styles/index.css`);function o(e){let r=t.default.readFileSync(e,`utf-8`),i=n.default.dirname(e);return r.replace(/@import\s+['"]([^'"]+)['"]\s*(layer\([^)]+\))?;/g,(e,t,r)=>{if(!t.startsWith(`.`))return e;let a=o(n.default.resolve(i,t));return r?`@layer ${/layer\(([^)]+)\)/.exec(r)?.[1]} {\n${a}\n}`:a})}function s(){return i||=o(a),i}exports.getBundledCss=s;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import e from "fs";
|
|
2
|
+
import t from "path";
|
|
3
|
+
import { fileURLToPath as n } from "url";
|
|
4
|
+
//#region src/utils/bundleCss.ts
|
|
5
|
+
var r = null, i = t.resolve(t.dirname(n(import.meta.url)), "../../src/styles/index.css");
|
|
6
|
+
function a(n) {
|
|
7
|
+
let r = e.readFileSync(n, "utf-8"), i = t.dirname(n);
|
|
8
|
+
return r.replace(/@import\s+['"]([^'"]+)['"]\s*(layer\([^)]+\))?;/g, (e, n, r) => {
|
|
9
|
+
if (!n.startsWith(".")) return e;
|
|
10
|
+
let o = a(t.resolve(i, n));
|
|
11
|
+
return r ? `@layer ${/layer\(([^)]+)\)/.exec(r)?.[1]} {\n${o}\n}` : o;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function o() {
|
|
15
|
+
return r ||= a(i), r;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { o as getBundledCss };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
export default cleanHtml;
|
|
2
1
|
/**
|
|
3
|
-
* Remove from `dangerousHtml` all URL with javascript: scheme and unwanted tags,
|
|
4
|
-
*
|
|
5
|
-
* @param {string} dangerousHtml unsanitized HTML string
|
|
6
|
-
* @returns {string} clean HTML string
|
|
2
|
+
* Remove from `dangerousHtml` all URL with javascript: scheme and unwanted tags,
|
|
3
|
+
* including tags with closing tag and self-closed tags.
|
|
7
4
|
*/
|
|
8
|
-
declare function cleanHtml(dangerousHtml?: string): string;
|
|
9
|
-
|
|
5
|
+
export declare function cleanHtml(dangerousHtml?: string): string;
|
|
6
|
+
export default cleanHtml;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type ClassDictionary = Record<string, unknown>;
|
|
2
|
+
export type ClassArray = ClassValue[];
|
|
3
|
+
export type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
|
|
4
|
+
export declare const cn: (...inputs: ClassValue[]) => string;
|
|
5
|
+
export default cn;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactElement, ReactPortal } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Calls
|
|
4
|
-
*
|
|
5
|
-
* React is aware of the difference between direct SS render & CS portal and won't throw errors
|
|
6
|
-
* during rehydration.
|
|
7
|
-
*
|
|
8
|
-
* NOTE: children will be rendered in place at SSR, therefore, to avoid flash of unstyled modal,
|
|
9
|
-
* make sure the modal is styled with global CSS and it should have viewport-relative position.
|
|
10
|
-
*
|
|
11
|
-
* @param {any} children React's renderable components to be sent to portals
|
|
12
|
-
* @param {string} selector optional selector string to change portal container target
|
|
13
|
-
* @return Renderable content for React JSX
|
|
3
|
+
* Calls createPortal on the client side or renders children in place on the server side.
|
|
14
4
|
*/
|
|
15
|
-
declare function createUniversalPortal(children:
|
|
16
|
-
|
|
5
|
+
export declare function createUniversalPortal(children: ReactElement, selector?: string): ReactPortal | ReactElement;
|
|
6
|
+
export default createUniversalPortal;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { CSSProperties, HTMLAttributes, MutableRefObject, ReactNode, ReactPortal, Ref, SVGProps } from 'react';
|
|
2
|
+
export type Placement = 'bottom-start' | 'bottom-end' | 'bottom-center' | 'top-start' | 'top-center' | 'top-end' | 'left-end' | 'left-center' | 'left-start' | 'right-end' | 'right-center' | 'right-start' | 'center';
|
|
3
|
+
export type LayerSide = 'top' | 'bottom' | 'left' | 'right' | 'center';
|
|
4
|
+
export declare function mergeRefs<T = any>(...refs: Array<Ref<T> | MutableRefObject<T> | undefined | null>): (element: T | null) => void;
|
|
5
|
+
export interface UseLayerOptions {
|
|
6
|
+
isOpen?: boolean;
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
possiblePlacements?: Placement[];
|
|
9
|
+
auto?: boolean;
|
|
10
|
+
snap?: boolean;
|
|
11
|
+
triggerOffset?: number;
|
|
12
|
+
arrowOffset?: number;
|
|
13
|
+
containerOffset?: number;
|
|
14
|
+
overflowContainer?: boolean;
|
|
15
|
+
onOutsideClick?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export interface UseLayerArrowProps {
|
|
18
|
+
ref: (element: SVGSVGElement | null) => void;
|
|
19
|
+
style: CSSProperties;
|
|
20
|
+
layerSide: LayerSide;
|
|
21
|
+
}
|
|
22
|
+
export interface UseLayerResult {
|
|
23
|
+
triggerProps: {
|
|
24
|
+
ref: (element: any) => void;
|
|
25
|
+
};
|
|
26
|
+
layerProps: {
|
|
27
|
+
ref: (element: any) => void;
|
|
28
|
+
style: CSSProperties;
|
|
29
|
+
};
|
|
30
|
+
arrowProps: UseLayerArrowProps;
|
|
31
|
+
layerSide: LayerSide;
|
|
32
|
+
triggerBounds: DOMRect | null;
|
|
33
|
+
renderLayer: (children: ReactNode) => ReactPortal | null;
|
|
34
|
+
}
|
|
35
|
+
export declare function useLayer(options: UseLayerOptions): UseLayerResult;
|
|
36
|
+
export interface ArrowProps extends SVGProps<SVGSVGElement> {
|
|
37
|
+
size?: number;
|
|
38
|
+
angle?: number;
|
|
39
|
+
borderWidth?: number;
|
|
40
|
+
borderColor?: string;
|
|
41
|
+
roundness?: number;
|
|
42
|
+
backgroundColor?: string;
|
|
43
|
+
layerSide?: LayerSide;
|
|
44
|
+
}
|
|
45
|
+
export declare const Arrow: import('react').ForwardRefExoticComponent<Omit<ArrowProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
46
|
+
export interface UseHoverOptions {
|
|
47
|
+
delayEnter?: number;
|
|
48
|
+
delayLeave?: number;
|
|
49
|
+
hideOnScroll?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export declare function useHover(options?: UseHoverOptions): [boolean, HTMLAttributes<HTMLElement>, () => void];
|
|
52
|
+
export { useLayer as useFloatingLayer, Arrow as FloatingArrow };
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
export default getBreakpointsValues;
|
|
2
1
|
/**
|
|
3
|
-
* Helper function that generates an array with 5 elements from a number
|
|
4
|
-
* or another array with less than 5 elements
|
|
5
|
-
*
|
|
6
|
-
* @param {number | string | number[] | string[]} value
|
|
7
|
-
* @param {number | string} defaultValue
|
|
8
|
-
* @returns {Array}
|
|
2
|
+
* Helper function that generates an array with 5 elements from a number, string,
|
|
3
|
+
* or another array with less than 5 elements.
|
|
9
4
|
*/
|
|
10
|
-
declare function getBreakpointsValues(value:
|
|
11
|
-
|
|
5
|
+
export declare function getBreakpointsValues<T = string | number>(value: T | Array<T | null | undefined> | null | undefined, defaultValue: T): [T, T, T, T, T];
|
|
6
|
+
export default getBreakpointsValues;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const SIZES_MAP: {
|
|
2
|
+
readonly vW: "100vw";
|
|
3
|
+
readonly vH: "100vh";
|
|
4
|
+
readonly quarter: "25%";
|
|
5
|
+
readonly third: "33.33%";
|
|
6
|
+
readonly half: "50%";
|
|
7
|
+
readonly twoThird: "66.66%";
|
|
8
|
+
readonly threeQuarter: "75%";
|
|
9
|
+
readonly full: "100%";
|
|
10
|
+
readonly xxxs: "12px";
|
|
11
|
+
readonly xxs: "16px";
|
|
12
|
+
readonly xs: "20px";
|
|
13
|
+
readonly sm: "24px";
|
|
14
|
+
readonly md: "28px";
|
|
15
|
+
readonly lg: "32px";
|
|
16
|
+
readonly lxl: "40px";
|
|
17
|
+
readonly xl: "48px";
|
|
18
|
+
readonly xxl: "64px";
|
|
19
|
+
readonly xxxl: "80px";
|
|
20
|
+
readonly xxxxl: "96px";
|
|
21
|
+
readonly xxxxxl: "128px";
|
|
22
|
+
readonly buttonMaxWidth: "352px";
|
|
23
|
+
readonly $sm: "236px";
|
|
24
|
+
readonly $md: "480px";
|
|
25
|
+
readonly $lg: "636px";
|
|
26
|
+
readonly $xl: "864px";
|
|
27
|
+
};
|
|
28
|
+
export type CladSize = keyof typeof SIZES_MAP;
|