@snowui-design-system/components 0.3.0-alpha.1 → 0.3.0-alpha.3
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/AGENTS.md +21 -0
- package/LICENSE +133 -89
- package/README.md +21 -7
- package/component-catalog.json +505 -84
- package/dist/client/blocks/Sidebar.js +75 -46
- package/dist/client/blocks/SidebarSection.js +3 -1
- package/dist/client/blocks/index.js +2 -0
- package/dist/client/compat.js +2 -0
- package/dist/client/components/BarChart.js +1 -1
- package/dist/client/components/Breadcrumb.js +17 -11
- package/dist/client/components/CircularChart.js +2 -2
- package/dist/client/components/CodeBlock.js +278 -225
- package/dist/client/components/CopyButton.js +5 -2
- package/dist/client/components/ExpandButton.js +10 -3
- package/dist/client/components/Frame.js +15 -9
- package/dist/client/components/GaugeChart.js +2 -2
- package/dist/client/components/ImageViewer.js +51 -27
- package/dist/client/components/Indicator.js +5 -3
- package/dist/client/components/Input.js +27 -17
- package/dist/client/components/LineChart.js +1 -1
- package/dist/client/components/Link.d.ts +1 -1
- package/dist/client/components/Link.js +43 -22
- package/dist/client/components/Listbox.js +26 -15
- package/dist/client/components/OverflowAction.d.ts +2 -0
- package/dist/client/components/OverflowAction.js +146 -65
- package/dist/client/components/OverflowActions.d.ts +2 -0
- package/dist/client/components/OverflowActions.js +67 -16
- package/dist/client/components/Pagination.js +71 -48
- package/dist/client/components/Select.js +29 -18
- package/dist/client/components/SidePanel.js +76 -50
- package/dist/client/components/Tab.js +30 -31
- package/dist/client/components/TableBody.js +10 -4
- package/dist/client/components/TableCell.js +57 -32
- package/dist/client/components/TableHead.js +69 -38
- package/dist/client/components/TableToolbar.js +112 -79
- package/dist/client/components/Text.js +103 -47
- package/dist/client/components/Textarea.js +7 -1
- package/dist/client/components/Toast.js +8 -1
- package/dist/client/components/Tooltip.js +200 -195
- package/dist/client/context.js +2 -0
- package/dist/client/dev.js +2 -0
- package/dist/client/i18n/messages.d.ts +2 -2
- package/dist/client/i18n/messages.js +117 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +3 -1
- package/dist/client/internal/code-block/prettier-svelte.d.ts +2 -0
- package/dist/client/internal/component-icon/index.js +2 -0
- package/dist/client/internal/snow-ui-logo/emoji-metrics.js +2 -0
- package/dist/client/keys.js +2 -0
- package/dist/client/lib/adaptive-contrast-renderer.js +2 -0
- package/dist/client/lib/chart/appearance-timeline.js +2 -0
- package/dist/client/lib/chart/arc-path.js +2 -0
- package/dist/client/lib/chart/colors.js +2 -0
- package/dist/client/lib/chart/size.js +2 -0
- package/dist/client/lib/clipboard.js +2 -0
- package/dist/client/lib/color.js +2 -0
- package/dist/client/lib/date-format.js +2 -0
- package/dist/client/lib/edge-fade.js +2 -0
- package/dist/client/lib/number-format.js +8 -0
- package/dist/client/lib/overflow-actions-motion.js +2 -0
- package/dist/client/lib/overlay-trigger-timing.js +2 -0
- package/dist/client/lib/progressive-blur.d.ts +13 -0
- package/dist/client/lib/progressive-blur.js +54 -0
- package/dist/client/lib/responsive-exit.js +2 -0
- package/dist/client/lib/search-filter.js +2 -0
- package/dist/client/lib/side-panel.js +2 -0
- package/dist/client/lib/split-pane.js +2 -0
- package/dist/client/lib/table-column-motion.js +2 -0
- package/dist/client/lib/table-responsive.js +2 -0
- package/dist/client/lib/table-selection-fade.js +2 -0
- package/dist/client/lib/table-truncation.js +2 -0
- package/dist/client/lib/text-motion/animation.js +2 -0
- package/dist/client/lib/text-motion/character.js +2 -0
- package/dist/client/lib/text-motion/color.js +2 -0
- package/dist/client/lib/text-motion/layout.js +2 -0
- package/dist/client/lib/text-motion/preference.js +2 -0
- package/dist/client/lib/text-motion/sequence.js +2 -0
- package/dist/client/lib/text-motion/typography.js +2 -0
- package/dist/client/lib/tooltip-delay.js +2 -0
- package/dist/client/lib/tooltip-motion-dismiss.js +2 -0
- package/dist/client/lib/tooltip-pointer-speed.js +2 -0
- package/dist/client/lib/truncate.js +2 -0
- package/dist/client/logic/ComponentPartsBoundary.d.ts +7 -0
- package/dist/client/logic/ComponentPartsBoundary.js +15 -0
- package/dist/client/logic/frame-field-control.js +2 -0
- package/dist/client/logic/frame-motion-defaults.js +2 -0
- package/dist/client/logic/frame-prop-filter.js +2 -0
- package/dist/client/logic/geometry-cache.js +2 -0
- package/dist/client/logic/layout-flip.js +2 -0
- package/dist/client/logic/morph.js +2 -0
- package/dist/client/logic/motion-engine.js +2 -0
- package/dist/client/logic/motion-orchestration.js +2 -0
- package/dist/client/logic/motion-types.js +2 -0
- package/dist/client/logic/overflow-actions.d.ts +3 -2
- package/dist/client/logic/wc-adapter.js +2 -0
- package/dist/client/motion/bridge.js +2 -0
- package/dist/client/motion/content-crossfade.js +2 -0
- package/dist/client/motion/expand.js +2 -0
- package/dist/client/motion/fade-in.js +2 -0
- package/dist/client/motion/fade-out.js +2 -0
- package/dist/client/motion/morph.js +2 -0
- package/dist/client/motion/move.js +2 -0
- package/dist/client/motion/number.js +2 -0
- package/dist/client/motion/replace.js +2 -0
- package/dist/client/motion/rotate.css +2 -0
- package/dist/client/motion/rotate.js +2 -0
- package/dist/client/motion/scale-in.js +2 -0
- package/dist/client/motion/tokens.js +2 -0
- package/dist/client/motion/while-2xl.js +2 -0
- package/dist/client/motion/while-active.js +2 -0
- package/dist/client/motion/while-appear.js +2 -0
- package/dist/client/motion/while-click.js +2 -0
- package/dist/client/motion/while-collapsed.js +2 -0
- package/dist/client/motion/while-disabled.js +2 -0
- package/dist/client/motion/while-disappear.js +2 -0
- package/dist/client/motion/while-drag.js +2 -0
- package/dist/client/motion/while-editing.js +2 -0
- package/dist/client/motion/while-expanded.js +2 -0
- package/dist/client/motion/while-focus.js +2 -0
- package/dist/client/motion/while-hover.js +2 -0
- package/dist/client/motion/while-idle.js +2 -0
- package/dist/client/motion/while-key.js +2 -0
- package/dist/client/motion/while-lg.js +2 -0
- package/dist/client/motion/while-load.js +2 -0
- package/dist/client/motion/while-md.js +2 -0
- package/dist/client/motion/while-reload.js +2 -0
- package/dist/client/motion/while-scroll.js +2 -0
- package/dist/client/motion/while-sm.js +2 -0
- package/dist/client/motion/while-uploading.js +2 -0
- package/dist/client/motion/while-validating.js +2 -0
- package/dist/client/motion/while-xl.js +2 -0
- package/dist/client/motion/while-xs.js +2 -0
- package/dist/client/styles/auto-layout.css +3 -1
- package/dist/client/styles/backdrop.css +2 -0
- package/dist/client/styles/components.css +6 -4
- package/dist/client/styles/index.css +2 -0
- package/dist/client/styles/layout.css +20 -4
- package/dist/client/styles/scale.css +2 -0
- package/dist/client/styles/scrollbar.css +3 -1
- package/dist/client/styles/tokens.css +2 -0
- package/dist/client/vite-env.d.ts +2 -0
- package/dist/server/blocks/Sidebar.js +41 -21
- package/dist/server/blocks/SidebarSection.js +3 -1
- package/dist/server/blocks/index.js +2 -0
- package/dist/server/compat.js +2 -0
- package/dist/server/components/BarChart.js +1 -1
- package/dist/server/components/Breadcrumb.js +9 -2
- package/dist/server/components/CircularChart.js +2 -2
- package/dist/server/components/CodeBlock.js +25 -13
- package/dist/server/components/CopyButton.js +6 -2
- package/dist/server/components/ExpandButton.js +7 -3
- package/dist/server/components/Frame.js +10 -3
- package/dist/server/components/GaugeChart.js +2 -2
- package/dist/server/components/ImageViewer.js +6 -3
- package/dist/server/components/Indicator.js +5 -3
- package/dist/server/components/Input.js +14 -17
- package/dist/server/components/LineChart.js +1 -1
- package/dist/server/components/Link.d.ts +1 -1
- package/dist/server/components/Link.js +20 -3
- package/dist/server/components/Listbox.js +17 -4
- package/dist/server/components/OverflowAction.d.ts +2 -0
- package/dist/server/components/OverflowAction.js +70 -26
- package/dist/server/components/OverflowActions.d.ts +2 -0
- package/dist/server/components/OverflowActions.js +49 -14
- package/dist/server/components/Pagination.js +21 -10
- package/dist/server/components/Select.js +23 -11
- package/dist/server/components/SidePanel.js +28 -8
- package/dist/server/components/Tab.js +61 -52
- package/dist/server/components/TableBody.js +9 -2
- package/dist/server/components/TableCell.js +28 -7
- package/dist/server/components/TableHead.js +31 -7
- package/dist/server/components/TableToolbar.js +57 -30
- package/dist/server/components/Text.js +52 -12
- package/dist/server/components/Textarea.js +4 -1
- package/dist/server/components/Toast.js +4 -1
- package/dist/server/components/Tooltip.js +10 -10
- package/dist/server/context.js +2 -0
- package/dist/server/dev.js +2 -0
- package/dist/server/i18n/messages.d.ts +2 -2
- package/dist/server/i18n/messages.js +117 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -1
- package/dist/server/internal/code-block/prettier-svelte.d.ts +2 -0
- package/dist/server/internal/component-icon/index.js +2 -0
- package/dist/server/internal/snow-ui-logo/emoji-metrics.js +2 -0
- package/dist/server/keys.js +2 -0
- package/dist/server/lib/adaptive-contrast-renderer.js +2 -0
- package/dist/server/lib/chart/appearance-timeline.js +2 -0
- package/dist/server/lib/chart/arc-path.js +2 -0
- package/dist/server/lib/chart/colors.js +2 -0
- package/dist/server/lib/chart/size.js +2 -0
- package/dist/server/lib/clipboard.js +2 -0
- package/dist/server/lib/color.js +2 -0
- package/dist/server/lib/date-format.js +2 -0
- package/dist/server/lib/edge-fade.js +2 -0
- package/dist/server/lib/number-format.js +8 -0
- package/dist/server/lib/overflow-actions-motion.js +2 -0
- package/dist/server/lib/overlay-trigger-timing.js +2 -0
- package/dist/server/lib/progressive-blur.d.ts +13 -0
- package/dist/server/lib/progressive-blur.js +54 -0
- package/dist/server/lib/responsive-exit.js +2 -0
- package/dist/server/lib/search-filter.js +2 -0
- package/dist/server/lib/side-panel.js +2 -0
- package/dist/server/lib/split-pane.js +2 -0
- package/dist/server/lib/table-column-motion.js +2 -0
- package/dist/server/lib/table-responsive.js +2 -0
- package/dist/server/lib/table-selection-fade.js +2 -0
- package/dist/server/lib/table-truncation.js +2 -0
- package/dist/server/lib/text-motion/animation.js +2 -0
- package/dist/server/lib/text-motion/character.js +2 -0
- package/dist/server/lib/text-motion/color.js +2 -0
- package/dist/server/lib/text-motion/layout.js +2 -0
- package/dist/server/lib/text-motion/preference.js +2 -0
- package/dist/server/lib/text-motion/sequence.js +2 -0
- package/dist/server/lib/text-motion/typography.js +2 -0
- package/dist/server/lib/tooltip-delay.js +2 -0
- package/dist/server/lib/tooltip-motion-dismiss.js +2 -0
- package/dist/server/lib/tooltip-pointer-speed.js +2 -0
- package/dist/server/lib/truncate.js +2 -0
- package/dist/server/logic/ComponentPartsBoundary.d.ts +7 -0
- package/dist/server/logic/ComponentPartsBoundary.js +12 -0
- package/dist/server/logic/frame-field-control.js +2 -0
- package/dist/server/logic/frame-motion-defaults.js +2 -0
- package/dist/server/logic/frame-prop-filter.js +2 -0
- package/dist/server/logic/geometry-cache.js +2 -0
- package/dist/server/logic/layout-flip.js +2 -0
- package/dist/server/logic/morph.js +2 -0
- package/dist/server/logic/motion-engine.js +2 -0
- package/dist/server/logic/motion-orchestration.js +2 -0
- package/dist/server/logic/motion-types.js +2 -0
- package/dist/server/logic/overflow-actions.d.ts +3 -2
- package/dist/server/logic/wc-adapter.js +2 -0
- package/dist/server/motion/bridge.js +2 -0
- package/dist/server/motion/content-crossfade.js +2 -0
- package/dist/server/motion/expand.js +2 -0
- package/dist/server/motion/fade-in.js +2 -0
- package/dist/server/motion/fade-out.js +2 -0
- package/dist/server/motion/morph.js +2 -0
- package/dist/server/motion/move.js +2 -0
- package/dist/server/motion/number.js +2 -0
- package/dist/server/motion/replace.js +2 -0
- package/dist/server/motion/rotate.css +2 -0
- package/dist/server/motion/rotate.js +2 -0
- package/dist/server/motion/scale-in.js +2 -0
- package/dist/server/motion/tokens.js +2 -0
- package/dist/server/motion/while-2xl.js +2 -0
- package/dist/server/motion/while-active.js +2 -0
- package/dist/server/motion/while-appear.js +2 -0
- package/dist/server/motion/while-click.js +2 -0
- package/dist/server/motion/while-collapsed.js +2 -0
- package/dist/server/motion/while-disabled.js +2 -0
- package/dist/server/motion/while-disappear.js +2 -0
- package/dist/server/motion/while-drag.js +2 -0
- package/dist/server/motion/while-editing.js +2 -0
- package/dist/server/motion/while-expanded.js +2 -0
- package/dist/server/motion/while-focus.js +2 -0
- package/dist/server/motion/while-hover.js +2 -0
- package/dist/server/motion/while-idle.js +2 -0
- package/dist/server/motion/while-key.js +2 -0
- package/dist/server/motion/while-lg.js +2 -0
- package/dist/server/motion/while-load.js +2 -0
- package/dist/server/motion/while-md.js +2 -0
- package/dist/server/motion/while-reload.js +2 -0
- package/dist/server/motion/while-scroll.js +2 -0
- package/dist/server/motion/while-sm.js +2 -0
- package/dist/server/motion/while-uploading.js +2 -0
- package/dist/server/motion/while-validating.js +2 -0
- package/dist/server/motion/while-xl.js +2 -0
- package/dist/server/motion/while-xs.js +2 -0
- package/dist/server/styles/auto-layout.css +3 -1
- package/dist/server/styles/backdrop.css +2 -0
- package/dist/server/styles/components.css +6 -4
- package/dist/server/styles/index.css +2 -0
- package/dist/server/styles/layout.css +20 -4
- package/dist/server/styles/scale.css +2 -0
- package/dist/server/styles/scrollbar.css +3 -1
- package/dist/server/styles/tokens.css +2 -0
- package/dist/server/vite-env.d.ts +2 -0
- package/llms.txt +5 -0
- package/package.json +14 -6
|
@@ -1503,230 +1503,235 @@ export default function Tooltip($$anchor, $$props) {
|
|
|
1503
1503
|
|
|
1504
1504
|
{
|
|
1505
1505
|
var consequent_6 = ($$anchor) => {
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1506
|
+
{
|
|
1507
|
+
let $0 = $.derived(() => $.get(renderedOverlay)?.loopMotion);
|
|
1508
|
+
|
|
1509
|
+
Frame($$anchor, {
|
|
1510
|
+
enableResponsive: false,
|
|
1511
|
+
enableContext: false,
|
|
1512
|
+
enableDefaultMotion: false,
|
|
1513
|
+
enableScaleObserver: false,
|
|
1514
|
+
use: [portal],
|
|
1515
|
+
get loopMotion() {
|
|
1516
|
+
return $.get($0);
|
|
1517
|
+
},
|
|
1518
|
+
class: 'snowui-tooltip-portal',
|
|
1519
|
+
get style() {
|
|
1520
|
+
return $.get(portalStyle);
|
|
1521
|
+
},
|
|
1519
1522
|
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
+
get 'data-ready'() {
|
|
1524
|
+
return $.get(portalReady);
|
|
1525
|
+
},
|
|
1523
1526
|
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
+
get element() {
|
|
1528
|
+
return $.get(tooltipRef);
|
|
1529
|
+
},
|
|
1527
1530
|
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
+
set element($$value) {
|
|
1532
|
+
$.set(tooltipRef, $$value, true);
|
|
1533
|
+
},
|
|
1531
1534
|
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
+
children: ($$anchor, $$slotProps) => {
|
|
1536
|
+
var div = root_3();
|
|
1537
|
+
var node_3 = $.child(div);
|
|
1538
|
+
|
|
1539
|
+
{
|
|
1540
|
+
let $0 = $.derived(() => $.get(renderedOverlay)?.variant);
|
|
1541
|
+
let $1 = $.derived(() => $.get(sizeMotionEnabled) && $.get(animatedShellSize) === undefined);
|
|
1542
|
+
|
|
1543
|
+
let $2 = $.derived(() => [
|
|
1544
|
+
"snowui-tooltip-content",
|
|
1545
|
+
"snowui-tooltip-size-shell",
|
|
1546
|
+
"snowui-rounded-rectangle",
|
|
1547
|
+
`snowui-tooltip-pos-${$.get(finalPosition)}`,
|
|
1548
|
+
$.get(renderedOverlay)?.className
|
|
1549
|
+
].filter(Boolean).join(" "));
|
|
1550
|
+
|
|
1551
|
+
let $3 = $.derived(() => [$.get(sizeShellStyle), $.get(renderedOverlay)?.style].filter(Boolean).join("; "));
|
|
1552
|
+
|
|
1553
|
+
Frame(node_3, $.spread_props(
|
|
1554
|
+
{
|
|
1555
|
+
enableResponsive: false,
|
|
1556
|
+
enableContext: false,
|
|
1557
|
+
enableScaleObserver: false,
|
|
1558
|
+
get whileActive() {
|
|
1559
|
+
return $.get(effectiveSizeMotion);
|
|
1560
|
+
},
|
|
1561
|
+
|
|
1562
|
+
get 'data-variant'() {
|
|
1563
|
+
return $.get($0);
|
|
1564
|
+
},
|
|
1565
|
+
|
|
1566
|
+
get 'data-size-motion'() {
|
|
1567
|
+
return $.get($1);
|
|
1568
|
+
},
|
|
1569
|
+
|
|
1570
|
+
get class() {
|
|
1571
|
+
return $.get($2);
|
|
1572
|
+
},
|
|
1573
|
+
|
|
1574
|
+
get style() {
|
|
1575
|
+
return $.get($3);
|
|
1576
|
+
},
|
|
1577
|
+
role: 'tooltip',
|
|
1578
|
+
onmouseenter: retainOverlay,
|
|
1579
|
+
onmouseleave: releaseOverlay
|
|
1580
|
+
},
|
|
1581
|
+
() => $.get(renderedOverlay)?.rest,
|
|
1582
|
+
{
|
|
1583
|
+
get element() {
|
|
1584
|
+
return $.get(sizeShellRef);
|
|
1585
|
+
},
|
|
1535
1586
|
|
|
1536
|
-
|
|
1537
|
-
|
|
1587
|
+
set element($$value) {
|
|
1588
|
+
$.set(sizeShellRef, $$value, true);
|
|
1589
|
+
},
|
|
1538
1590
|
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
"snowui-rounded-rectangle",
|
|
1543
|
-
`snowui-tooltip-pos-${$.get(finalPosition)}`,
|
|
1544
|
-
$.get(renderedOverlay).className
|
|
1545
|
-
].filter(Boolean).join(" "));
|
|
1591
|
+
children: ($$anchor, $$slotProps) => {
|
|
1592
|
+
var fragment_4 = root_2();
|
|
1593
|
+
var node_4 = $.sibling($.first_child(fragment_4), 2);
|
|
1546
1594
|
|
|
1547
|
-
|
|
1595
|
+
Frame(node_4, {
|
|
1596
|
+
enableResponsive: false,
|
|
1597
|
+
enableContext: false,
|
|
1598
|
+
enableDefaultMotion: false,
|
|
1599
|
+
enableScaleObserver: false,
|
|
1600
|
+
get currentState() {
|
|
1601
|
+
return $.get(effectivePortalLifecycleState);
|
|
1602
|
+
},
|
|
1548
1603
|
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
enableContext: false,
|
|
1553
|
-
enableScaleObserver: false,
|
|
1554
|
-
get whileActive() {
|
|
1555
|
-
return $.get(effectiveSizeMotion);
|
|
1556
|
-
},
|
|
1604
|
+
get whileAppear() {
|
|
1605
|
+
return $.get(effectivePortalAppearMotion);
|
|
1606
|
+
},
|
|
1557
1607
|
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1608
|
+
get whileDisappear() {
|
|
1609
|
+
return $.get(effectivePortalDisappearMotion);
|
|
1610
|
+
},
|
|
1611
|
+
class: 'snowui-tooltip-foreground snowui-tooltip-shared-foreground',
|
|
1612
|
+
get style() {
|
|
1613
|
+
return $.get(foregroundStyle);
|
|
1614
|
+
},
|
|
1561
1615
|
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1616
|
+
children: ($$anchor, $$slotProps) => {
|
|
1617
|
+
var fragment_5 = root_1();
|
|
1618
|
+
var node_5 = $.first_child(fragment_5);
|
|
1565
1619
|
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1620
|
+
{
|
|
1621
|
+
var consequent_3 = ($$anchor) => {
|
|
1622
|
+
var span_1 = root();
|
|
1623
|
+
var span_2 = $.child(span_1);
|
|
1624
|
+
var node_6 = $.child(span_2);
|
|
1569
1625
|
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
onmouseenter: retainOverlay,
|
|
1575
|
-
onmouseleave: releaseOverlay
|
|
1576
|
-
},
|
|
1577
|
-
() => $.get(renderedOverlay).rest,
|
|
1578
|
-
{
|
|
1579
|
-
get element() {
|
|
1580
|
-
return $.get(sizeShellRef);
|
|
1581
|
-
},
|
|
1626
|
+
{
|
|
1627
|
+
var consequent_1 = ($$anchor) => {
|
|
1628
|
+
var fragment_6 = $.comment();
|
|
1629
|
+
var node_7 = $.first_child(fragment_6);
|
|
1582
1630
|
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1631
|
+
$.snippet(node_7, () => $.get(outgoingOverlay).children);
|
|
1632
|
+
$.append($$anchor, fragment_6);
|
|
1633
|
+
};
|
|
1586
1634
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
var node_4 = $.sibling($.first_child(fragment_4), 2);
|
|
1590
|
-
|
|
1591
|
-
Frame(node_4, {
|
|
1592
|
-
enableResponsive: false,
|
|
1593
|
-
enableContext: false,
|
|
1594
|
-
enableDefaultMotion: false,
|
|
1595
|
-
enableScaleObserver: false,
|
|
1596
|
-
get currentState() {
|
|
1597
|
-
return $.get(effectivePortalLifecycleState);
|
|
1598
|
-
},
|
|
1599
|
-
|
|
1600
|
-
get whileAppear() {
|
|
1601
|
-
return $.get(effectivePortalAppearMotion);
|
|
1602
|
-
},
|
|
1603
|
-
|
|
1604
|
-
get whileDisappear() {
|
|
1605
|
-
return $.get(effectivePortalDisappearMotion);
|
|
1606
|
-
},
|
|
1607
|
-
class: 'snowui-tooltip-foreground snowui-tooltip-shared-foreground',
|
|
1608
|
-
get style() {
|
|
1609
|
-
return $.get(foregroundStyle);
|
|
1610
|
-
},
|
|
1611
|
-
|
|
1612
|
-
children: ($$anchor, $$slotProps) => {
|
|
1613
|
-
var fragment_5 = root_1();
|
|
1614
|
-
var node_5 = $.first_child(fragment_5);
|
|
1615
|
-
|
|
1616
|
-
{
|
|
1617
|
-
var consequent_3 = ($$anchor) => {
|
|
1618
|
-
var span_1 = root();
|
|
1619
|
-
var span_2 = $.child(span_1);
|
|
1620
|
-
var node_6 = $.child(span_2);
|
|
1621
|
-
|
|
1622
|
-
{
|
|
1623
|
-
var consequent_1 = ($$anchor) => {
|
|
1624
|
-
var fragment_6 = $.comment();
|
|
1625
|
-
var node_7 = $.first_child(fragment_6);
|
|
1626
|
-
|
|
1627
|
-
$.snippet(node_7, () => $.get(outgoingOverlay).children);
|
|
1628
|
-
$.append($$anchor, fragment_6);
|
|
1629
|
-
};
|
|
1630
|
-
|
|
1631
|
-
var consequent_2 = ($$anchor) => {
|
|
1632
|
-
var text = $.text();
|
|
1633
|
-
|
|
1634
|
-
$.template_effect(() => $.set_text(text, $.get(outgoingOverlay).fallbackContent));
|
|
1635
|
-
$.append($$anchor, text);
|
|
1636
|
-
};
|
|
1637
|
-
|
|
1638
|
-
$.if(node_6, ($$render) => {
|
|
1639
|
-
if ($.get(outgoingOverlay).children) $$render(consequent_1); else if ($.get(outgoingOverlay).fallbackContent) $$render(consequent_2, 1);
|
|
1640
|
-
});
|
|
1641
|
-
}
|
|
1635
|
+
var consequent_2 = ($$anchor) => {
|
|
1636
|
+
var text = $.text();
|
|
1642
1637
|
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
$.bind_this(span_1, ($$value) => $.set(outgoingLayerRef, $$value), () => $.get(outgoingLayerRef));
|
|
1638
|
+
$.template_effect(() => $.set_text(text, $.get(outgoingOverlay).fallbackContent));
|
|
1639
|
+
$.append($$anchor, text);
|
|
1640
|
+
};
|
|
1647
1641
|
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1642
|
+
$.if(node_6, ($$render) => {
|
|
1643
|
+
if ($.get(outgoingOverlay).children) $$render(consequent_1); else if ($.get(outgoingOverlay).fallbackContent) $$render(consequent_2, 1);
|
|
1644
|
+
});
|
|
1645
|
+
}
|
|
1652
1646
|
|
|
1653
|
-
|
|
1654
|
-
|
|
1647
|
+
$.reset(span_2);
|
|
1648
|
+
$.bind_this(span_2, ($$value) => $.set(outgoingContentRef, $$value), () => $.get(outgoingContentRef));
|
|
1649
|
+
$.reset(span_1);
|
|
1650
|
+
$.bind_this(span_1, ($$value) => $.set(outgoingLayerRef, $$value), () => $.get(outgoingLayerRef));
|
|
1655
1651
|
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1652
|
+
$.template_effect(() => {
|
|
1653
|
+
$.set_attribute(span_1, 'data-move-mode', $.get(moveMode));
|
|
1654
|
+
$.set_style(span_1, $.get(outgoingLayerStyle));
|
|
1655
|
+
});
|
|
1660
1656
|
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
var node_8 = $.child(span_4);
|
|
1657
|
+
$.append($$anchor, span_1);
|
|
1658
|
+
};
|
|
1664
1659
|
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1660
|
+
$.if(node_5, ($$render) => {
|
|
1661
|
+
if ($.get(outgoingOverlay)) $$render(consequent_3);
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1669
1664
|
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1665
|
+
var span_3 = $.sibling(node_5, 2);
|
|
1666
|
+
var span_4 = $.child(span_3);
|
|
1667
|
+
var node_8 = $.child(span_4);
|
|
1673
1668
|
|
|
1674
|
-
|
|
1675
|
-
var
|
|
1669
|
+
{
|
|
1670
|
+
var consequent_4 = ($$anchor) => {
|
|
1671
|
+
var fragment_8 = $.comment();
|
|
1672
|
+
var node_9 = $.first_child(fragment_8);
|
|
1676
1673
|
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1674
|
+
$.snippet(node_9, () => $.get(renderedOverlay)?.children ?? $.noop);
|
|
1675
|
+
$.append($$anchor, fragment_8);
|
|
1676
|
+
};
|
|
1680
1677
|
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
});
|
|
1684
|
-
}
|
|
1678
|
+
var consequent_5 = ($$anchor) => {
|
|
1679
|
+
var text_1 = $.text();
|
|
1685
1680
|
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
$.bind_this(span_3, ($$value) => $.set(incomingLayerRef, $$value), () => $.get(incomingLayerRef));
|
|
1681
|
+
$.template_effect(() => $.set_text(text_1, $.get(renderedOverlay)?.fallbackContent));
|
|
1682
|
+
$.append($$anchor, text_1);
|
|
1683
|
+
};
|
|
1690
1684
|
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
});
|
|
1685
|
+
$.if(node_8, ($$render) => {
|
|
1686
|
+
if ($.get(renderedOverlay)?.children) $$render(consequent_4); else if ($.get(renderedOverlay)?.fallbackContent) $$render(consequent_5, 1);
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1696
1689
|
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1690
|
+
$.reset(span_4);
|
|
1691
|
+
$.bind_this(span_4, ($$value) => $.set(sizeContentRef, $$value), () => $.get(sizeContentRef));
|
|
1692
|
+
$.reset(span_3);
|
|
1693
|
+
$.bind_this(span_3, ($$value) => $.set(incomingLayerRef, $$value), () => $.get(incomingLayerRef));
|
|
1701
1694
|
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}
|
|
1695
|
+
$.template_effect(() => {
|
|
1696
|
+
$.set_attribute(span_3, 'data-move-mode', $.get(moveMode));
|
|
1697
|
+
$.set_attribute(span_3, 'data-layer-ready', $.get(incomingLayerReady));
|
|
1698
|
+
$.set_style(span_3, $.get(incomingLayerStyle));
|
|
1699
|
+
});
|
|
1708
1700
|
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
$.
|
|
1722
|
-
|
|
1723
|
-
$.
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1701
|
+
$.append($$anchor, fragment_5);
|
|
1702
|
+
},
|
|
1703
|
+
$$slots: { default: true }
|
|
1704
|
+
});
|
|
1705
|
+
|
|
1706
|
+
$.append($$anchor, fragment_4);
|
|
1707
|
+
},
|
|
1708
|
+
$$slots: { default: true }
|
|
1709
|
+
}
|
|
1710
|
+
));
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
$.reset(div);
|
|
1714
|
+
|
|
1715
|
+
$.template_effect(() => {
|
|
1716
|
+
$.set_attribute(div, 'data-move-mode', $.get(moveMode));
|
|
1717
|
+
$.set_attribute(div, 'data-switch-phase', $.get(switchPhase));
|
|
1718
|
+
$.set_attribute(div, 'data-retargeting', $.get(switchRetargeting));
|
|
1719
|
+
$.set_attribute(div, 'data-rapid-retarget', $.get(renderedOverlay)?.rapidRetarget);
|
|
1720
|
+
$.set_attribute(div, 'data-shell-duration', $.get(switchShellDurationMs));
|
|
1721
|
+
$.set_attribute(div, 'data-width-duration', $.get(switchWidthDurationMs));
|
|
1722
|
+
$.set_attribute(div, 'data-width-rebound', $.get(renderedOverlay)?.widthRebound);
|
|
1723
|
+
$.set_attribute(div, 'data-content-duration', $.get(switchContentDurationMs));
|
|
1724
|
+
$.set_attribute(div, 'data-shell-distance', $.get(switchShellDistancePx));
|
|
1725
|
+
$.set_attribute(div, 'data-content-distance', $.get(switchContentDistancePx));
|
|
1726
|
+
$.set_attribute(div, 'data-content-speed-profile', $.get(switchContentSpeedProfile));
|
|
1727
|
+
$.set_style(div, $.get(motionShellStyle));
|
|
1728
|
+
});
|
|
1729
|
+
|
|
1730
|
+
$.append($$anchor, div);
|
|
1731
|
+
},
|
|
1732
|
+
$$slots: { default: true }
|
|
1733
|
+
});
|
|
1734
|
+
}
|
|
1730
1735
|
};
|
|
1731
1736
|
|
|
1732
1737
|
$.if(node_2, ($$render) => {
|
package/dist/client/context.js
CHANGED
package/dist/client/dev.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/* SnowUI source notice | LICENSE 2.2.0: ../LICENSE
|
|
3
|
+
复制或移植时随附该版本完整 LICENSE 与第三方声明;同任务、同版本、同已确认用途不逐组件重复检查。 */
|
|
2
4
|
// Dev entry — use `playground/` for component development
|
|
3
5
|
// Run: cd ../playground && pnpm dev
|
|
4
6
|
document.getElementById("app").innerHTML =
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** SnowUI 组件内置 UI 文案 catalog。文档: ../../../specs/LocalizationSpec.md */
|
|
1
|
+
/** SnowUI 组件内置 UI 文案 catalog。文档: ../../../specs/maintainers/LocalizationSpec.md */
|
|
2
2
|
export declare const DEFAULT_LOCALE = "zh-CN";
|
|
3
|
-
export type SnowUIMessageKey = "colorSchemeButton.toLight" | "colorSchemeButton.toDark" | "styleButton.toSnowUI" | "styleButton.toApple" | "sidePanel.placement.toInline" | "sidePanel.placement.toFloating" | "sidePanel.previous" | "sidePanel.next" | "sidePanel.copy" | "sidePanel.delete" | "sidePanel.cancel" | "sidePanel.save" | "sidePanel.close" | "dialog.close";
|
|
3
|
+
export type SnowUIMessageKey = "copyButton.copy" | "copyButton.copied" | "codeBlock.copyCode" | "codeBlock.fullscreen" | "codeBlock.exitFullscreen" | "codeBlock.resize" | "codeBlock.fullscreenDialog" | "expandButton.expand" | "expandButton.collapse" | "sidebar.resize" | "pagination.pageSize" | "pagination.previous" | "pagination.next" | "pagination.page" | "input.clear" | "input.increment" | "input.decrement" | "input.openTime" | "input.openDate" | "input.year" | "input.month" | "input.day" | "input.week" | "input.hour" | "input.minute" | "input.second" | "input.yearPlaceholder" | "input.monthPlaceholder" | "input.dayPlaceholder" | "input.weekPlaceholder" | "imageViewer.previous" | "imageViewer.next" | "imageViewer.close" | "toast.close" | "tableHead.selectAll" | "tableHead.resizeColumn" | "tableCell.selectRow" | "text.expand" | "textarea.resize" | "indicator.resizeWidth" | "indicator.resizeHeight" | "indicator.resizeBoth" | "colorSchemeButton.toLight" | "colorSchemeButton.toDark" | "styleButton.toSnowUI" | "styleButton.toApple" | "sidePanel.placement.toInline" | "sidePanel.placement.toFloating" | "sidePanel.previous" | "sidePanel.next" | "sidePanel.copy" | "sidePanel.delete" | "sidePanel.cancel" | "sidePanel.save" | "sidePanel.close" | "sidePanel.resize" | "tableToolbar.name" | "tableToolbar.search" | "tableToolbar.sort" | "tableToolbar.filter" | "tableToolbar.clear" | "tableToolbar.copy" | "tableToolbar.delete" | "tableToolbar.selected" | "tableToolbar.deleting" | "tableToolbar.defaultSort" | "tableToolbar.ascending" | "tableToolbar.descending" | "tableToolbar.defaultFilter" | "overflowActions.more" | "dialog.close";
|
|
4
4
|
export type SnowUIMessageValues = Record<string, string | number>;
|
|
5
5
|
export type SnowUIMessageOverrides = Partial<Record<SnowUIMessageKey, string>>;
|
|
6
6
|
export declare const SNOWUI_MESSAGES: Record<string, Record<SnowUIMessageKey, string>>;
|
|
@@ -1,7 +1,51 @@
|
|
|
1
|
-
|
|
1
|
+
/* SnowUI source notice | LICENSE 2.2.0: ../../../LICENSE
|
|
2
|
+
复制或移植时随附该版本完整 LICENSE 与第三方声明;同任务、同版本、同已确认用途不逐组件重复检查。 */
|
|
3
|
+
/** SnowUI 组件内置 UI 文案 catalog。文档: ../../../specs/maintainers/LocalizationSpec.md */
|
|
2
4
|
export const DEFAULT_LOCALE = "zh-CN";
|
|
3
5
|
export const SNOWUI_MESSAGES = {
|
|
4
6
|
"zh-CN": {
|
|
7
|
+
"copyButton.copy": "复制",
|
|
8
|
+
"copyButton.copied": "已复制",
|
|
9
|
+
"codeBlock.copyCode": "复制代码",
|
|
10
|
+
"codeBlock.fullscreen": "全屏查看",
|
|
11
|
+
"codeBlock.exitFullscreen": "退出全屏",
|
|
12
|
+
"codeBlock.resize": "调整代码块宽度和高度",
|
|
13
|
+
"codeBlock.fullscreenDialog": "全屏代码查看",
|
|
14
|
+
"expandButton.expand": "展开",
|
|
15
|
+
"expandButton.collapse": "收起",
|
|
16
|
+
"sidebar.resize": "调整侧边栏宽度",
|
|
17
|
+
"pagination.pageSize": "每页条数",
|
|
18
|
+
"pagination.previous": "上一页",
|
|
19
|
+
"pagination.next": "下一页",
|
|
20
|
+
"pagination.page": "第 {{page}} 页",
|
|
21
|
+
"input.clear": "清除输入",
|
|
22
|
+
"input.increment": "增加数值",
|
|
23
|
+
"input.decrement": "减少数值",
|
|
24
|
+
"input.openTime": "打开时间选择",
|
|
25
|
+
"input.openDate": "打开日期选择",
|
|
26
|
+
"input.year": "年",
|
|
27
|
+
"input.month": "月",
|
|
28
|
+
"input.day": "日",
|
|
29
|
+
"input.week": "周",
|
|
30
|
+
"input.hour": "时",
|
|
31
|
+
"input.minute": "分",
|
|
32
|
+
"input.second": "秒",
|
|
33
|
+
"input.yearPlaceholder": "年",
|
|
34
|
+
"input.monthPlaceholder": "月",
|
|
35
|
+
"input.dayPlaceholder": "日",
|
|
36
|
+
"input.weekPlaceholder": "周",
|
|
37
|
+
"imageViewer.previous": "上一张",
|
|
38
|
+
"imageViewer.next": "下一张",
|
|
39
|
+
"imageViewer.close": "关闭图片预览",
|
|
40
|
+
"toast.close": "关闭通知",
|
|
41
|
+
"tableHead.selectAll": "选择全部当前行",
|
|
42
|
+
"tableHead.resizeColumn": "调整 {{column}} 列宽",
|
|
43
|
+
"tableCell.selectRow": "选择当前行",
|
|
44
|
+
"text.expand": "展开",
|
|
45
|
+
"textarea.resize": "调整文本域大小",
|
|
46
|
+
"indicator.resizeWidth": "调整宽度",
|
|
47
|
+
"indicator.resizeHeight": "调整高度",
|
|
48
|
+
"indicator.resizeBoth": "调整宽度和高度",
|
|
5
49
|
"colorSchemeButton.toLight": "切换到亮色",
|
|
6
50
|
"colorSchemeButton.toDark": "切换到暗色",
|
|
7
51
|
"styleButton.toSnowUI": "切换到 SnowUI 风格",
|
|
@@ -15,9 +59,66 @@ export const SNOWUI_MESSAGES = {
|
|
|
15
59
|
"sidePanel.cancel": "取消",
|
|
16
60
|
"sidePanel.save": "保存",
|
|
17
61
|
"sidePanel.close": "关闭",
|
|
62
|
+
"sidePanel.resize": "调整弹出窗宽度",
|
|
63
|
+
"tableToolbar.name": "表格工具栏",
|
|
64
|
+
"tableToolbar.search": "搜索",
|
|
65
|
+
"tableToolbar.sort": "排序",
|
|
66
|
+
"tableToolbar.filter": "筛选",
|
|
67
|
+
"tableToolbar.clear": "清除",
|
|
68
|
+
"tableToolbar.copy": "复制",
|
|
69
|
+
"tableToolbar.delete": "删除",
|
|
70
|
+
"tableToolbar.selected": "已选择 {{count}} 项",
|
|
71
|
+
"tableToolbar.deleting": "删除中",
|
|
72
|
+
"tableToolbar.defaultSort": "默认排序",
|
|
73
|
+
"tableToolbar.ascending": "升序",
|
|
74
|
+
"tableToolbar.descending": "降序",
|
|
75
|
+
"tableToolbar.defaultFilter": "默认筛选",
|
|
76
|
+
"overflowActions.more": "更多操作",
|
|
18
77
|
"dialog.close": "关闭",
|
|
19
78
|
},
|
|
20
79
|
"en-US": {
|
|
80
|
+
"copyButton.copy": "Copy",
|
|
81
|
+
"copyButton.copied": "Copied",
|
|
82
|
+
"codeBlock.copyCode": "Copy code",
|
|
83
|
+
"codeBlock.fullscreen": "View fullscreen",
|
|
84
|
+
"codeBlock.exitFullscreen": "Exit fullscreen",
|
|
85
|
+
"codeBlock.resize": "Resize code block",
|
|
86
|
+
"codeBlock.fullscreenDialog": "Fullscreen code view",
|
|
87
|
+
"expandButton.expand": "Expand",
|
|
88
|
+
"expandButton.collapse": "Collapse",
|
|
89
|
+
"sidebar.resize": "Resize sidebar width",
|
|
90
|
+
"pagination.pageSize": "Items per page",
|
|
91
|
+
"pagination.previous": "Previous page",
|
|
92
|
+
"pagination.next": "Next page",
|
|
93
|
+
"pagination.page": "Page {{page}}",
|
|
94
|
+
"input.clear": "Clear input",
|
|
95
|
+
"input.increment": "Increase value",
|
|
96
|
+
"input.decrement": "Decrease value",
|
|
97
|
+
"input.openTime": "Open time picker",
|
|
98
|
+
"input.openDate": "Open date picker",
|
|
99
|
+
"input.year": "Year",
|
|
100
|
+
"input.month": "Month",
|
|
101
|
+
"input.day": "Day",
|
|
102
|
+
"input.week": "Week",
|
|
103
|
+
"input.hour": "Hour",
|
|
104
|
+
"input.minute": "Minute",
|
|
105
|
+
"input.second": "Second",
|
|
106
|
+
"input.yearPlaceholder": "YYYY",
|
|
107
|
+
"input.monthPlaceholder": "MM",
|
|
108
|
+
"input.dayPlaceholder": "DD",
|
|
109
|
+
"input.weekPlaceholder": "WW",
|
|
110
|
+
"imageViewer.previous": "Previous image",
|
|
111
|
+
"imageViewer.next": "Next image",
|
|
112
|
+
"imageViewer.close": "Close image viewer",
|
|
113
|
+
"toast.close": "Close notification",
|
|
114
|
+
"tableHead.selectAll": "Select all current rows",
|
|
115
|
+
"tableHead.resizeColumn": "Resize {{column}} column",
|
|
116
|
+
"tableCell.selectRow": "Select current row",
|
|
117
|
+
"text.expand": "Expand",
|
|
118
|
+
"textarea.resize": "Resize text area",
|
|
119
|
+
"indicator.resizeWidth": "Resize width",
|
|
120
|
+
"indicator.resizeHeight": "Resize height",
|
|
121
|
+
"indicator.resizeBoth": "Resize width and height",
|
|
21
122
|
"colorSchemeButton.toLight": "Switch to light color scheme",
|
|
22
123
|
"colorSchemeButton.toDark": "Switch to dark color scheme",
|
|
23
124
|
"styleButton.toSnowUI": "Switch to SnowUI style",
|
|
@@ -31,6 +132,21 @@ export const SNOWUI_MESSAGES = {
|
|
|
31
132
|
"sidePanel.cancel": "Cancel",
|
|
32
133
|
"sidePanel.save": "Save",
|
|
33
134
|
"sidePanel.close": "Close",
|
|
135
|
+
"sidePanel.resize": "Resize panel width",
|
|
136
|
+
"tableToolbar.name": "Table toolbar",
|
|
137
|
+
"tableToolbar.search": "Search",
|
|
138
|
+
"tableToolbar.sort": "Sort",
|
|
139
|
+
"tableToolbar.filter": "Filter",
|
|
140
|
+
"tableToolbar.clear": "Clear",
|
|
141
|
+
"tableToolbar.copy": "Copy",
|
|
142
|
+
"tableToolbar.delete": "Delete",
|
|
143
|
+
"tableToolbar.selected": "{{count}} selected",
|
|
144
|
+
"tableToolbar.deleting": "Deleting",
|
|
145
|
+
"tableToolbar.defaultSort": "Default sort",
|
|
146
|
+
"tableToolbar.ascending": "Ascending",
|
|
147
|
+
"tableToolbar.descending": "Descending",
|
|
148
|
+
"tableToolbar.defaultFilter": "Default filter",
|
|
149
|
+
"overflowActions.more": "More actions",
|
|
34
150
|
"dialog.close": "Close",
|
|
35
151
|
},
|
|
36
152
|
};
|
package/dist/client/index.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export { DEFAULT_LOCALE, SNOWUI_MESSAGES, type SnowUIMessageKey, type SnowUIMess
|
|
|
88
88
|
export { createLocaleContext, useLocale, type LocaleContext, } from "./i18n/locale.js";
|
|
89
89
|
export { getTooltipBehaviorEnhancement, registerTooltipBehaviorEnhancement, resetTooltipBehaviorEnhancement, type ResolvedTooltipBehaviorEnhancement, type TooltipBehaviorEnhancement, } from "./lib/tooltip-behavior";
|
|
90
90
|
export { DEFAULT_FLOATING_EDGE_GAP, clampFloatingPosition, clampFloatingValue, constrainFloatingAnchor, getFloatingVisualBounds, getOppositeFloatingSide, hasFloatingCollision, type FloatingBounds, type FloatingPoint, type FloatingSide, } from "./lib/floating-position";
|
|
91
|
-
export { DEFAULT_PROGRESSIVE_BLUR_LAYER_COUNT, DEFAULT_PROGRESSIVE_BLUR_WIDTH, createProgressiveBlurContainerStyle, createProgressiveBlurLayerStyles, createProgressiveBlurStyles, createUniformBlurLayerStyles, createUniformBlurStyles, type ProgressiveBlurDirection, type ProgressiveBlurLayerStyle, type ProgressiveBlurOptions, type ProgressiveBlurStyles, } from "./lib/progressive-blur";
|
|
91
|
+
export { DEFAULT_PROGRESSIVE_BLUR_LAYER_COUNT, DEFAULT_PROGRESSIVE_BLUR_WIDTH, createEdgeProgressiveBlurStyles, createProgressiveBlurContainerStyle, createProgressiveBlurLayerStyles, createProgressiveBlurStyles, createUniformBlurLayerStyles, createUniformBlurStyles, type EdgeProgressiveBlurDirection, type EdgeProgressiveBlurOptions, type ProgressiveBlurDirection, type ProgressiveBlurLayerStyle, type ProgressiveBlurOptions, type ProgressiveBlurStyles, } from "./lib/progressive-blur";
|
|
92
92
|
export { createEdgeFadeMaskImage, createEdgeFadeMaskStyle, type EdgeFadeDirection, type EdgeFadeMaskOptions, } from "./lib/edge-fade";
|
|
93
93
|
export { writeClipboardText } from "./lib/clipboard";
|
|
94
94
|
export { default as CopyLink } from "./components/CopyLink.js";
|
package/dist/client/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* SnowUI source notice | LICENSE 2.2.0: ../../LICENSE
|
|
2
|
+
复制或移植时随附该版本完整 LICENSE 与第三方声明;同任务、同版本、同已确认用途不逐组件重复检查。 */
|
|
1
3
|
// SnowUI 许可入口:阅读或使用本公开入口前先读 ../LICENSE;同任务同许可版本去重,源码修改与框架移植须有相应权限。
|
|
2
4
|
export { default as Accordion } from "./components/Accordion.js";
|
|
3
5
|
export { default as AccordionItem } from "./components/AccordionItem.js";
|
|
@@ -76,7 +78,7 @@ export { DEFAULT_LOCALE, SNOWUI_MESSAGES, } from "./i18n/messages.js";
|
|
|
76
78
|
export { createLocaleContext, useLocale, } from "./i18n/locale.js";
|
|
77
79
|
export { getTooltipBehaviorEnhancement, registerTooltipBehaviorEnhancement, resetTooltipBehaviorEnhancement, } from "./lib/tooltip-behavior.js";
|
|
78
80
|
export { DEFAULT_FLOATING_EDGE_GAP, clampFloatingPosition, clampFloatingValue, constrainFloatingAnchor, getFloatingVisualBounds, getOppositeFloatingSide, hasFloatingCollision, } from "./lib/floating-position.js";
|
|
79
|
-
export { DEFAULT_PROGRESSIVE_BLUR_LAYER_COUNT, DEFAULT_PROGRESSIVE_BLUR_WIDTH, createProgressiveBlurContainerStyle, createProgressiveBlurLayerStyles, createProgressiveBlurStyles, createUniformBlurLayerStyles, createUniformBlurStyles, } from "./lib/progressive-blur.js";
|
|
81
|
+
export { DEFAULT_PROGRESSIVE_BLUR_LAYER_COUNT, DEFAULT_PROGRESSIVE_BLUR_WIDTH, createEdgeProgressiveBlurStyles, createProgressiveBlurContainerStyle, createProgressiveBlurLayerStyles, createProgressiveBlurStyles, createUniformBlurLayerStyles, createUniformBlurStyles, } from "./lib/progressive-blur.js";
|
|
80
82
|
export { createEdgeFadeMaskImage, createEdgeFadeMaskStyle, } from "./lib/edge-fade.js";
|
|
81
83
|
export { writeClipboardText } from "./lib/clipboard.js";
|
|
82
84
|
export { default as CopyLink } from "./components/CopyLink.js";
|