@once-ui-system/core 1.6.4 → 1.7.1
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/dist/components/Avatar.d.ts +1 -0
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/BlobFx.d.ts +8 -0
- package/dist/components/BlobFx.d.ts.map +1 -0
- package/dist/components/BlobFx.js +82 -0
- package/dist/components/BlobFx.js.map +1 -0
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Button.module.scss +62 -32
- package/dist/components/ContextMenu.d.ts +1 -0
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu.js +8 -4
- package/dist/components/ContextMenu.js.map +1 -1
- package/dist/components/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog.js +27 -5
- package/dist/components/Dialog.js.map +1 -1
- package/dist/components/Dropdown.d.ts +1 -0
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown.js +4 -2
- package/dist/components/Dropdown.js.map +1 -1
- package/dist/components/FadingLettersFx.d.ts +15 -0
- package/dist/components/FadingLettersFx.d.ts.map +1 -0
- package/dist/components/FadingLettersFx.js +27 -0
- package/dist/components/FadingLettersFx.js.map +1 -0
- package/dist/components/FadingLettersFx.module.scss +71 -0
- package/dist/components/IconButton.d.ts +5 -2
- package/dist/components/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton.js +6 -4
- package/dist/components/IconButton.js.map +1 -1
- package/dist/components/IconButton.module.scss +14 -0
- package/dist/components/Input.d.ts +3 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +19 -6
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Input.module.scss +64 -10
- package/dist/components/Media.d.ts +5 -1
- package/dist/components/Media.d.ts.map +1 -1
- package/dist/components/Media.js +20 -7
- package/dist/components/Media.js.map +1 -1
- package/dist/components/Modal.d.ts +11 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/Modal.js +72 -0
- package/dist/components/Modal.js.map +1 -0
- package/dist/components/NumberInput.d.ts.map +1 -1
- package/dist/components/NumberInput.js +1 -1
- package/dist/components/NumberInput.js.map +1 -1
- package/dist/components/ScrollContainer.d.ts +9 -0
- package/dist/components/ScrollContainer.d.ts.map +1 -0
- package/dist/components/ScrollContainer.js +67 -0
- package/dist/components/ScrollContainer.js.map +1 -0
- package/dist/components/ServerFlex.d.ts.map +1 -1
- package/dist/components/ServerFlex.js +3 -3
- package/dist/components/ServerFlex.js.map +1 -1
- package/dist/components/ServerGrid.d.ts.map +1 -1
- package/dist/components/ServerGrid.js +2 -2
- package/dist/components/ServerGrid.js.map +1 -1
- package/dist/components/SplitView.d.ts +16 -0
- package/dist/components/SplitView.d.ts.map +1 -0
- package/dist/components/SplitView.js +80 -0
- package/dist/components/SplitView.js.map +1 -0
- package/dist/components/SplitView.module.scss +18 -0
- package/dist/components/StylePanel.d.ts.map +1 -1
- package/dist/components/StylePanel.js +10 -10
- package/dist/components/StylePanel.js.map +1 -1
- package/dist/components/TagInput.d.ts +1 -2
- package/dist/components/TagInput.d.ts.map +1 -1
- package/dist/components/TagInput.js.map +1 -1
- package/dist/components/Textarea.d.ts +2 -0
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea.js +18 -8
- package/dist/components/Textarea.js.map +1 -1
- package/dist/components/ThemeInit.d.ts.map +1 -1
- package/dist/components/ThemeInit.js +39 -40
- package/dist/components/ThemeInit.js.map +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline.js +50 -6
- package/dist/components/Timeline.js.map +1 -1
- package/dist/components/ToggleButton.d.ts +2 -1
- package/dist/components/ToggleButton.d.ts.map +1 -1
- package/dist/components/ToggleButton.js +3 -3
- package/dist/components/ToggleButton.js.map +1 -1
- package/dist/components/ToggleButton.module.scss +27 -8
- package/dist/components/TypeFx.d.ts.map +1 -1
- package/dist/components/TypeFx.js +66 -87
- package/dist/components/TypeFx.js.map +1 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +9 -1
- package/dist/components/index.js.map +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/css/styles.css.map +1 -1
- package/dist/css/tokens.css +1 -1
- package/dist/css/tokens.css.map +1 -1
- package/dist/interfaces.d.ts +1 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.d.ts +3 -31
- package/dist/modules/code/CodeBlock.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.d.ts +34 -0
- package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -0
- package/dist/modules/code/CodeBlock.impl.js +487 -0
- package/dist/modules/code/CodeBlock.impl.js.map +1 -0
- package/dist/modules/code/CodeBlock.js +10 -483
- package/dist/modules/code/CodeBlock.js.map +1 -1
- package/dist/modules/data/BarChart.d.ts +1 -8
- package/dist/modules/data/BarChart.d.ts.map +1 -1
- package/dist/modules/data/BarChart.impl.d.ts +12 -0
- package/dist/modules/data/BarChart.impl.d.ts.map +1 -0
- package/dist/modules/data/BarChart.impl.js +137 -0
- package/dist/modules/data/BarChart.impl.js.map +1 -0
- package/dist/modules/data/BarChart.js +9 -132
- package/dist/modules/data/BarChart.js.map +1 -1
- package/dist/modules/data/DataTooltip.d.ts +2 -2
- package/dist/modules/data/DataTooltip.d.ts.map +1 -1
- package/dist/modules/data/Legend.d.ts +1 -1
- package/dist/modules/data/Legend.d.ts.map +1 -1
- package/dist/modules/data/LineBarChart.d.ts +1 -8
- package/dist/modules/data/LineBarChart.d.ts.map +1 -1
- package/dist/modules/data/LineBarChart.impl.d.ts +12 -0
- package/dist/modules/data/LineBarChart.impl.d.ts.map +1 -0
- package/dist/modules/data/LineBarChart.impl.js +142 -0
- package/dist/modules/data/LineBarChart.impl.js.map +1 -0
- package/dist/modules/data/LineBarChart.js +9 -137
- package/dist/modules/data/LineBarChart.js.map +1 -1
- package/dist/modules/data/LineChart.d.ts +1 -13
- package/dist/modules/data/LineChart.d.ts.map +1 -1
- package/dist/modules/data/LineChart.impl.d.ts +17 -0
- package/dist/modules/data/LineChart.impl.d.ts.map +1 -0
- package/dist/modules/data/LineChart.impl.js +148 -0
- package/dist/modules/data/LineChart.impl.js.map +1 -0
- package/dist/modules/data/LineChart.js +9 -143
- package/dist/modules/data/LineChart.js.map +1 -1
- package/dist/modules/data/PieChart.d.ts +4 -16
- package/dist/modules/data/PieChart.d.ts.map +1 -1
- package/dist/modules/data/PieChart.impl.d.ts +18 -0
- package/dist/modules/data/PieChart.impl.d.ts.map +1 -0
- package/dist/modules/data/PieChart.impl.js +102 -0
- package/dist/modules/data/PieChart.impl.js.map +1 -0
- package/dist/modules/data/PieChart.js +11 -97
- package/dist/modules/data/PieChart.js.map +1 -1
- package/dist/modules/media/MediaUpload.d.ts +2 -20
- package/dist/modules/media/MediaUpload.d.ts.map +1 -1
- package/dist/modules/media/MediaUpload.impl.d.ts +24 -0
- package/dist/modules/media/MediaUpload.impl.d.ts.map +1 -0
- package/dist/modules/media/MediaUpload.impl.js +92 -0
- package/dist/modules/media/MediaUpload.impl.js.map +1 -0
- package/dist/modules/media/MediaUpload.js +10 -88
- package/dist/modules/media/MediaUpload.js.map +1 -1
- package/dist/modules/navigation/Kbar.d.ts.map +1 -1
- package/dist/modules/navigation/Kbar.js +1 -1
- package/dist/modules/navigation/Kbar.js.map +1 -1
- package/dist/package.json +17 -6
- package/dist/src/__tests__/Dialog.test.d.ts +1 -0
- package/dist/src/components/Accordion.d.ts +21 -0
- package/dist/src/components/AccordionGroup.d.ts +15 -0
- package/dist/src/components/Animation.d.ts +33 -0
- package/dist/src/components/Arrow.d.ts +10 -0
- package/dist/src/components/ArrowNavigationContext.d.ts +32 -0
- package/dist/src/components/AutoScroll.d.ts +13 -0
- package/dist/src/components/Avatar.d.ts +20 -0
- package/dist/src/components/AvatarGroup.d.ts +13 -0
- package/dist/src/components/Background.d.ts +48 -0
- package/dist/src/components/Badge.d.ts +16 -0
- package/dist/src/components/Banner.d.ts +5 -0
- package/dist/src/components/BlobFx.d.ts +7 -0
- package/dist/src/components/BlockQuote.d.ts +20 -0
- package/dist/src/components/Button.d.ts +26 -0
- package/dist/src/components/Card.d.ts +12 -0
- package/dist/src/components/Carousel.d.ts +31 -0
- package/dist/src/components/CelebrationFx.d.ts +16 -0
- package/dist/src/components/Checkbox.d.ts +10 -0
- package/dist/src/components/Chip.d.ts +16 -0
- package/dist/src/components/ClientFlex.d.ts +12 -0
- package/dist/src/components/ClientGrid.d.ts +12 -0
- package/dist/src/components/ColorInput.d.ts +10 -0
- package/dist/src/components/Column.d.ts +6 -0
- package/dist/src/components/CompareImage.d.ts +15 -0
- package/dist/src/components/ContextMenu.d.ts +21 -0
- package/dist/src/components/CountFx.d.ts +14 -0
- package/dist/src/components/CountdownFx.d.ts +10 -0
- package/dist/src/components/Cursor.d.ts +7 -0
- package/dist/src/components/CursorCard.d.ts +12 -0
- package/dist/src/components/DateInput.d.ts +17 -0
- package/dist/src/components/DatePicker.d.ts +32 -0
- package/dist/src/components/DateRangeInput.d.ts +14 -0
- package/dist/src/components/DateRangePicker.d.ts +16 -0
- package/dist/src/components/Dialog.d.ts +19 -0
- package/dist/src/components/Dropdown.d.ts +12 -0
- package/dist/src/components/DropdownWrapper.d.ts +28 -0
- package/dist/src/components/ElementType.d.ts +13 -0
- package/dist/src/components/EmojiPicker.d.ts +15 -0
- package/dist/src/components/EmojiPickerDropdown.d.ts +10 -0
- package/dist/src/components/Fade.d.ts +18 -0
- package/dist/src/components/Feedback.d.ts +15 -0
- package/dist/src/components/Flex.d.ts +10 -0
- package/dist/src/components/FlipFx.d.ts +16 -0
- package/dist/src/components/GlitchFx.d.ts +11 -0
- package/dist/src/components/Grid.d.ts +10 -0
- package/dist/src/components/HoloFx.d.ts +31 -0
- package/dist/src/components/Hover.d.ts +13 -0
- package/dist/src/components/HoverCard.d.ts +4 -0
- package/dist/src/components/Icon.d.ts +17 -0
- package/dist/src/components/IconButton.d.ts +22 -0
- package/dist/src/components/InfiniteScroll.d.ts +15 -0
- package/dist/src/components/InlineCode.d.ts +9 -0
- package/dist/src/components/Input.d.ts +23 -0
- package/dist/src/components/InteractiveDetails.d.ts +14 -0
- package/dist/src/components/Kbd.d.ts +11 -0
- package/dist/src/components/Line.d.ts +8 -0
- package/dist/src/components/List.d.ts +10 -0
- package/dist/src/components/ListItem.d.ts +9 -0
- package/dist/src/components/Logo.d.ts +17 -0
- package/dist/src/components/LogoCloud.d.ts +13 -0
- package/dist/src/components/Mask.d.ts +14 -0
- package/dist/src/components/MasonryGrid.d.ts +21 -0
- package/dist/src/components/MatrixFx.d.ts +26 -0
- package/dist/src/components/Media.d.ts +25 -0
- package/dist/src/components/Modal.d.ts +10 -0
- package/dist/src/components/NavIcon.d.ts +10 -0
- package/dist/src/components/NumberInput.d.ts +12 -0
- package/dist/src/components/OTPInput.d.ts +12 -0
- package/dist/src/components/OgCard.d.ts +33 -0
- package/dist/src/components/Option.d.ts +20 -0
- package/dist/src/components/Particle.d.ts +20 -0
- package/dist/src/components/PasswordInput.d.ts +3 -0
- package/dist/src/components/ProgressBar.d.ts +14 -0
- package/dist/src/components/Pulse.d.ts +12 -0
- package/dist/src/components/RadioButton.d.ts +14 -0
- package/dist/src/components/RevealFx.d.ts +15 -0
- package/dist/src/components/Row.d.ts +6 -0
- package/dist/src/components/ScrollContainer.d.ts +8 -0
- package/dist/src/components/ScrollLock.integration.test.d.ts +1 -0
- package/dist/src/components/ScrollToTop.d.ts +6 -0
- package/dist/src/components/Scroller.d.ts +13 -0
- package/dist/src/components/SegmentedControl.d.ts +17 -0
- package/dist/src/components/Select.d.ts +18 -0
- package/dist/src/components/ShineFx.d.ts +12 -0
- package/dist/src/components/Skeleton.d.ts +12 -0
- package/dist/src/components/Slider.d.ts +16 -0
- package/dist/src/components/SmartLink.d.ts +17 -0
- package/dist/src/components/Spinner.d.ts +10 -0
- package/dist/src/components/SplitView.d.ts +15 -0
- package/dist/src/components/SplitView.js +79 -0
- package/dist/src/components/StatusIndicator.d.ts +11 -0
- package/dist/src/components/StyleOverlay.d.ts +9 -0
- package/dist/src/components/StylePanel.d.ts +7 -0
- package/dist/src/components/Swiper.d.ts +16 -0
- package/dist/src/components/Switch.d.ts +16 -0
- package/dist/src/components/Table.d.ts +15 -0
- package/dist/src/components/Tag.d.ts +15 -0
- package/dist/src/components/TagInput.d.ts +8 -0
- package/dist/src/components/Textarea.d.ts +22 -0
- package/dist/src/components/ThemeSwitcher.d.ts +3 -0
- package/dist/src/components/TiltFx.d.ts +9 -0
- package/dist/src/components/Timeline.d.ts +17 -0
- package/dist/src/components/Toast.d.ts +11 -0
- package/dist/src/components/Toaster.d.ts +12 -0
- package/dist/src/components/ToggleButton.d.ts +23 -0
- package/dist/src/components/Tooltip.d.ts +12 -0
- package/dist/src/components/TypeFx.d.ts +14 -0
- package/dist/src/components/User.d.ts +15 -0
- package/dist/src/components/UserMenu.d.ts +12 -0
- package/dist/src/components/WeatherFx.d.ts +17 -0
- package/dist/src/components/index.d.ts +120 -0
- package/dist/src/contexts/DataThemeProvider.d.ts +25 -0
- package/dist/src/contexts/ThemeProvider.d.ts +48 -0
- package/dist/src/contexts/ToastProvider.d.ts +17 -0
- package/dist/src/contexts/index.d.ts +5 -0
- package/dist/src/data/emoji-data.json +16062 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/modules/code/CodeBlock.d.ts +5 -0
- package/dist/src/modules/code/CodeBlock.impl.d.ts +33 -0
- package/dist/src/modules/data/BarChart.d.ts +5 -0
- package/dist/src/modules/data/BarChart.impl.d.ts +11 -0
- package/dist/src/modules/data/ChartHeader.d.ts +13 -0
- package/dist/src/modules/data/ChartStatus.d.ts +9 -0
- package/dist/src/modules/data/DataTooltip.d.ts +15 -0
- package/dist/src/modules/data/Gradient.d.ts +31 -0
- package/dist/src/modules/data/Legend.d.ts +14 -0
- package/dist/src/modules/data/LineBarChart.d.ts +5 -0
- package/dist/src/modules/data/LineBarChart.impl.d.ts +11 -0
- package/dist/src/modules/data/LineChart.d.ts +5 -0
- package/dist/src/modules/data/LineChart.impl.d.ts +16 -0
- package/dist/src/modules/data/LinearGauge.d.ts +17 -0
- package/dist/src/modules/data/PieChart.d.ts +5 -0
- package/dist/src/modules/data/PieChart.impl.d.ts +17 -0
- package/dist/src/modules/data/RadialGauge.d.ts +24 -0
- package/dist/src/modules/data/Swatch.d.ts +8 -0
- package/dist/src/modules/data/index.d.ts +13 -0
- package/dist/src/modules/data/interfaces.d.ts +52 -0
- package/dist/src/modules/data/utils/formatDate.d.ts +11 -0
- package/dist/src/modules/index.d.ts +7 -0
- package/dist/src/modules/media/MediaUpload.d.ts +5 -0
- package/dist/src/modules/media/MediaUpload.impl.d.ts +23 -0
- package/dist/src/modules/navigation/HeadingLink.d.ts +10 -0
- package/dist/src/modules/navigation/HeadingNav.d.ts +7 -0
- package/dist/src/modules/navigation/Kbar.d.ts +33 -0
- package/dist/src/modules/navigation/MegaMenu.d.ts +27 -0
- package/dist/src/modules/navigation/MobileMegaMenu.d.ts +27 -0
- package/dist/src/modules/navigation/index.d.ts +5 -0
- package/dist/src/utils/MissingDependency.d.ts +6 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/styles/size.scss +20 -0
- package/dist/test/dialogTestUtils.d.ts +2 -0
- package/dist/test/dialogTestUtils.d.ts.map +1 -0
- package/dist/test/dialogTestUtils.js +12 -0
- package/dist/test/dialogTestUtils.js.map +1 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/test/setup.js +59 -0
- package/dist/test/setup.js.map +1 -0
- package/dist/tokens/layout.scss +5 -0
- package/dist/utils/MissingDependency.d.ts +7 -0
- package/dist/utils/MissingDependency.d.ts.map +1 -0
- package/dist/utils/MissingDependency.js +6 -0
- package/dist/utils/MissingDependency.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +35 -13
- package/tsconfig.vitest.json +20 -0
- package/vitest.config.ts +19 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/test/setup.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,kBAAkB;IACtB,OAAO,KAAI,CAAC;IACZ,SAAS,KAAI,CAAC;IACd,UAAU,KAAI,CAAC;CAChB;AAED,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAC/B,IAAI,CAAC,CAAC,gBAAgB,IAAI,UAAU,CAAC,EAAE,CAAC;QACtC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,gBAAgB,EAAE;YAClD,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,kBAAkB;SAC1B,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE;QACxC,YAAY,EAAE,IAAI;QAClB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;KACf,CAAC,CAAC;IAEH,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,YAAY,EAAE;QAC1C,YAAY,EAAE,IAAI;QAClB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC;YACpD,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,KAAK;YACZ,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,EAAE,CAAC,EAAE,EAAE;YACpB,cAAc,EAAE,EAAE,CAAC,EAAE,EAAE;YACvB,gBAAgB,EAAE,EAAE,CAAC,EAAE,EAAE;YACzB,mBAAmB,EAAE,EAAE,CAAC,EAAE,EAAE;YAC5B,aAAa,EAAE,EAAE,CAAC,EAAE,EAAE;SACvB,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,mBAAmB,EAAE,CAAC;AAEtB,IAAI,CAAC,CAAC,OAAO,IAAI,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC;IACxC,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,EAAE;QACpD,YAAY,EAAE,IAAI;QAClB,GAAG;YACD,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC;QACD,GAAG,CAAC,KAAc;YAChB,IAAI,KAAK,EAAE,CAAC;gBACV,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACjC,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAS,CAAC,GAAG,EAAE;IACb,OAAO,EAAE,CAAC;IACV,EAAE,CAAC,eAAe,EAAE,CAAC;IACrB,mBAAmB,EAAE,CAAC;AACxB,CAAC,CAAC,CAAC"}
|
package/dist/tokens/layout.scss
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
--static-space-48: 3rem;
|
|
16
16
|
--static-space-56: 3.5rem;
|
|
17
17
|
--static-space-64: 4rem;
|
|
18
|
+
--static-space-72: 4.5rem;
|
|
18
19
|
--static-space-80: 5rem;
|
|
19
20
|
--static-space-104: 6.5rem;
|
|
20
21
|
--static-space-128: 8rem;
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
--static-space-48: calc(3rem * 1.1);
|
|
120
121
|
--static-space-56: calc(3.5rem * 1.1);
|
|
121
122
|
--static-space-64: calc(4rem * 1.1);
|
|
123
|
+
--static-space-72: calc(4.5rem * 1.1);
|
|
122
124
|
--static-space-80: calc(5rem * 1.1);
|
|
123
125
|
--static-space-104: calc(6.5rem * 1.1);
|
|
124
126
|
--static-space-128: calc(8rem * 1.1);
|
|
@@ -160,6 +162,7 @@
|
|
|
160
162
|
--static-space-48: calc(3rem * 1.05);
|
|
161
163
|
--static-space-56: calc(3.5rem * 1.05);
|
|
162
164
|
--static-space-64: calc(4rem * 1.05);
|
|
165
|
+
--static-space-72: calc(4.5rem * 1.05);
|
|
163
166
|
--static-space-80: calc(5rem * 1.05);
|
|
164
167
|
--static-space-104: calc(6.5rem * 1.05);
|
|
165
168
|
--static-space-128: calc(8rem * 1.05);
|
|
@@ -201,6 +204,7 @@
|
|
|
201
204
|
--static-space-48: calc(3rem * 0.95);
|
|
202
205
|
--static-space-56: calc(3.5rem * 0.95);
|
|
203
206
|
--static-space-64: calc(4rem * 0.95);
|
|
207
|
+
--static-space-72: calc(4.5rem * 0.95);
|
|
204
208
|
--static-space-80: calc(5rem * 0.95);
|
|
205
209
|
--static-space-104: calc(6.5rem * 0.95);
|
|
206
210
|
--static-space-128: calc(8rem * 0.95);
|
|
@@ -242,6 +246,7 @@
|
|
|
242
246
|
--static-space-48: calc(3rem * 0.9);
|
|
243
247
|
--static-space-56: calc(3.5rem * 0.9);
|
|
244
248
|
--static-space-64: calc(4rem * 0.9);
|
|
249
|
+
--static-space-72: calc(4.5rem * 0.9);
|
|
245
250
|
--static-space-80: calc(5rem * 0.9);
|
|
246
251
|
--static-space-104: calc(6.5rem * 0.9);
|
|
247
252
|
--static-space-128: calc(8rem * 0.9);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MissingDependency.d.ts","sourceRoot":"","sources":["../../src/utils/MissingDependency.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAwB9D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Column, Icon, Text } from "../components";
|
|
4
|
+
export const MissingDependency = ({ component, packageName, }) => (_jsxs(Column, { fillWidth: true, minHeight: "160", center: true, gap: "12", padding: "24", radius: "l", border: "neutral-medium", background: "neutral-alpha-weak", children: [_jsx(Icon, { name: "warning", size: "l", onBackground: "warning-medium" }), _jsxs(Column, { center: true, gap: "4", children: [_jsxs(Text, { variant: "body-strong-s", onBackground: "neutral-strong", children: [`<${component} />`, " requires ", `"${packageName}"`] }), _jsxs(Text, { variant: "body-default-xs", onBackground: "neutral-weak", children: ["Install it with: ", _jsx(Text, { as: "code", variant: "code-default-xs", children: `npm install ${packageName}` })] })] })] }));
|
|
5
|
+
MissingDependency.displayName = "MissingDependency";
|
|
6
|
+
//# sourceMappingURL=MissingDependency.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MissingDependency.js","sourceRoot":"","sources":["../../src/utils/MissingDependency.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,CAAC,MAAM,iBAAiB,GAAqC,CAAC,EAClE,SAAS,EACT,WAAW,GACZ,EAAE,EAAE,CAAC,CACJ,MAAC,MAAM,IACL,SAAS,QACT,SAAS,EAAC,KAAK,EACf,MAAM,QACN,GAAG,EAAC,IAAI,EACR,OAAO,EAAC,IAAI,EACZ,MAAM,EAAC,GAAG,EACV,MAAM,EAAC,gBAAgB,EACvB,UAAU,EAAC,oBAAoB,aAE/B,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,GAAG,EAAC,YAAY,EAAC,gBAAgB,GAAG,EAC9D,MAAC,MAAM,IAAC,MAAM,QAAC,GAAG,EAAC,GAAG,aACpB,MAAC,IAAI,IAAC,OAAO,EAAC,eAAe,EAAC,YAAY,EAAC,gBAAgB,aACxD,IAAI,SAAS,KAAK,gBAAY,IAAI,WAAW,GAAG,IAC5C,EACP,MAAC,IAAI,IAAC,OAAO,EAAC,iBAAiB,EAAC,YAAY,EAAC,cAAc,kCACxC,KAAC,IAAI,IAAC,EAAE,EAAC,MAAM,EAAC,OAAO,EAAC,iBAAiB,YAAE,eAAe,WAAW,EAAE,GAAQ,IAC3F,IACA,IACF,CACV,CAAC;AAEF,iBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC"}
|
package/dist/utils/index.js
CHANGED
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@once-ui-system/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Once UI for Next.js NPM package",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"once-ui",
|
|
@@ -72,32 +72,52 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@floating-ui/react-dom": "^2.1.
|
|
75
|
+
"@floating-ui/react-dom": "^2.1.8",
|
|
76
76
|
"classnames": "^2.5.1",
|
|
77
|
-
"compressorjs": "^1.2.1",
|
|
78
77
|
"date-fns": "^4.1.0",
|
|
79
|
-
"
|
|
80
|
-
"react-icons": "^5.2.1",
|
|
81
|
-
"recharts": "^2.15.1"
|
|
78
|
+
"react-icons": "^5.6.0"
|
|
82
79
|
},
|
|
83
80
|
"peerDependencies": {
|
|
84
|
-
"
|
|
81
|
+
"compressorjs": ">=1.2.0",
|
|
82
|
+
"next": ">=15.5",
|
|
83
|
+
"prismjs": ">=1.27.0",
|
|
85
84
|
"react": ">=18",
|
|
86
85
|
"react-dom": ">=18",
|
|
86
|
+
"recharts": ">=3.0.0",
|
|
87
87
|
"sass": "^1.77.6",
|
|
88
88
|
"sharp": "^0.33.4"
|
|
89
89
|
},
|
|
90
|
+
"peerDependenciesMeta": {
|
|
91
|
+
"compressorjs": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"prismjs": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"recharts": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"sharp": {
|
|
101
|
+
"optional": true
|
|
102
|
+
}
|
|
103
|
+
},
|
|
90
104
|
"devDependencies": {
|
|
91
|
-
"@biomejs/biome": "
|
|
105
|
+
"@biomejs/biome": "2.4.13",
|
|
106
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
107
|
+
"@testing-library/react": "^16.3.0",
|
|
108
|
+
"@testing-library/user-event": "^14.6.1",
|
|
92
109
|
"@types/node": "20.17.23",
|
|
93
|
-
"@types/react": "19.
|
|
94
|
-
"@types/react-dom": "19.
|
|
110
|
+
"@types/react": "19.2.5",
|
|
111
|
+
"@types/react-dom": "19.2.3",
|
|
112
|
+
"@vitest/ui": "^4.1.5",
|
|
113
|
+
"jsdom": "^27.0.0",
|
|
95
114
|
"rimraf": "^5.0.10",
|
|
96
|
-
"typescript": "5.8.2"
|
|
115
|
+
"typescript": "5.8.2",
|
|
116
|
+
"vitest": "^4.1.5"
|
|
97
117
|
},
|
|
98
118
|
"overrides": {
|
|
99
|
-
"@types/react": "19.
|
|
100
|
-
"@types/react-dom": "19.
|
|
119
|
+
"@types/react": "19.2.5",
|
|
120
|
+
"@types/react-dom": "19.2.3"
|
|
101
121
|
},
|
|
102
122
|
"scripts": {
|
|
103
123
|
"build": "pnpm clean && pnpm generate-emoji-data && tsc --project tsconfig.build.json && pnpm copy-files && pnpm build:css",
|
|
@@ -106,6 +126,8 @@
|
|
|
106
126
|
"clean": "rimraf dist",
|
|
107
127
|
"lint": "biome check .",
|
|
108
128
|
"format": "biome format --write .",
|
|
129
|
+
"test": "vitest run",
|
|
130
|
+
"test:watch": "vitest",
|
|
109
131
|
"typecheck": "tsc --noEmit",
|
|
110
132
|
"dev": "tsc --watch --preserveWatchOutput",
|
|
111
133
|
"generate-emoji-data": "node scripts/generate-emoji-data.js"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"noEmit": true,
|
|
5
|
+
"typeRoots": ["./types", "./node_modules/@types", "./node_modules"],
|
|
6
|
+
"types": ["node", "vitest/globals"]
|
|
7
|
+
},
|
|
8
|
+
"include": [
|
|
9
|
+
"next-env.d.ts",
|
|
10
|
+
"scss.d.ts",
|
|
11
|
+
"vitest.config.ts",
|
|
12
|
+
"src/test/**/*.ts",
|
|
13
|
+
"src/test/**/*.tsx",
|
|
14
|
+
"src/**/*.test.ts",
|
|
15
|
+
"src/**/*.test.tsx",
|
|
16
|
+
"src/**/*.spec.ts",
|
|
17
|
+
"src/**/*.spec.tsx"
|
|
18
|
+
],
|
|
19
|
+
"exclude": ["node_modules", "dist"]
|
|
20
|
+
}
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineConfig } from "vitest/config";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
test: {
|
|
5
|
+
environment: "jsdom",
|
|
6
|
+
globals: true,
|
|
7
|
+
setupFiles: ["./src/test/setup.ts"],
|
|
8
|
+
include: [
|
|
9
|
+
"src/**/*.test.ts",
|
|
10
|
+
"src/**/*.test.tsx",
|
|
11
|
+
"src/**/*.spec.ts",
|
|
12
|
+
"src/**/*.spec.tsx",
|
|
13
|
+
],
|
|
14
|
+
typecheck: {
|
|
15
|
+
enabled: true,
|
|
16
|
+
tsconfig: "./tsconfig.vitest.json",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
});
|