@uniformdev/design-system 20.20.0 → 20.22.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/esm/index.js +33 -44
- package/dist/index.js +3 -14
- package/package.json +7 -7
package/LICENSE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
©
|
|
1
|
+
© 2025 Uniform Systems, Inc. All Rights Reserved.
|
|
2
2
|
See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
|
package/dist/esm/index.js
CHANGED
|
@@ -6480,8 +6480,7 @@ var ChipContainer = css45`
|
|
|
6480
6480
|
}
|
|
6481
6481
|
|
|
6482
6482
|
&:hover {
|
|
6483
|
-
[role='presentation']
|
|
6484
|
-
[role='separator'] {
|
|
6483
|
+
[role='presentation'] {
|
|
6485
6484
|
transition: opacity var(--duration-fast) var(--timing-ease-out);
|
|
6486
6485
|
opacity: var(--opacity-100);
|
|
6487
6486
|
}
|
|
@@ -6493,8 +6492,7 @@ var ChipContainer = css45`
|
|
|
6493
6492
|
}
|
|
6494
6493
|
|
|
6495
6494
|
:where([aria-disabled='true'], :disabled):hover {
|
|
6496
|
-
[role='presentation']
|
|
6497
|
-
[role='separator'] {
|
|
6495
|
+
[role='presentation'] {
|
|
6498
6496
|
opacity: var(--opacity-50);
|
|
6499
6497
|
cursor: not-allowed;
|
|
6500
6498
|
}
|
|
@@ -6511,12 +6509,6 @@ var ChipIcon = css45`
|
|
|
6511
6509
|
display: flex;
|
|
6512
6510
|
opacity: var(--opacity-50);
|
|
6513
6511
|
`;
|
|
6514
|
-
var ChipSeparator = css45`
|
|
6515
|
-
display: flex;
|
|
6516
|
-
border-right: 1px solid var(--white);
|
|
6517
|
-
opacity: var(--opacity-50);
|
|
6518
|
-
margin-left: -1px;
|
|
6519
|
-
`;
|
|
6520
6512
|
var ChipTiny = (withIcon) => css45`
|
|
6521
6513
|
font-size: var(--fs-xs);
|
|
6522
6514
|
padding-inline: ${withIcon ? "calc(var(--spacing-2xs) + 2px) var(--spacing-sm)" : "var(--spacing-sm)"};
|
|
@@ -6725,7 +6717,7 @@ var ChipDisabled = css45`
|
|
|
6725
6717
|
`;
|
|
6726
6718
|
|
|
6727
6719
|
// src/components/Chip/Chip.tsx
|
|
6728
|
-
import {
|
|
6720
|
+
import { jsx as jsx58, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
|
|
6729
6721
|
var chipTheme = {
|
|
6730
6722
|
"accent-light": ChipThemeAccentLight,
|
|
6731
6723
|
"accent-dark": ChipThemeAccentDark,
|
|
@@ -6768,10 +6760,7 @@ var Chip = ({
|
|
|
6768
6760
|
],
|
|
6769
6761
|
...props,
|
|
6770
6762
|
children: [
|
|
6771
|
-
icon ? /* @__PURE__ */
|
|
6772
|
-
/* @__PURE__ */ jsx58("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx58(Icon, { icon, iconColor, size: "1rem" }) }),
|
|
6773
|
-
/* @__PURE__ */ jsx58("span", { role: "separator", css: ChipSeparator })
|
|
6774
|
-
] }) : null,
|
|
6763
|
+
icon ? /* @__PURE__ */ jsx58("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx58(Icon, { icon, iconColor, size: "1rem" }) }) : null,
|
|
6775
6764
|
/* @__PURE__ */ jsx58("span", { css: ChipText, children: text }),
|
|
6776
6765
|
chipAction
|
|
6777
6766
|
]
|
|
@@ -8042,7 +8031,7 @@ var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) =>
|
|
|
8042
8031
|
|
|
8043
8032
|
// src/components/Drawer/DrawerRenderer.tsx
|
|
8044
8033
|
import { useEffect as useEffect6, useMemo as useMemo3 } from "react";
|
|
8045
|
-
import { Fragment as
|
|
8034
|
+
import { Fragment as Fragment7, jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
|
|
8046
8035
|
var drawerWidth = {
|
|
8047
8036
|
narrow: "29rem",
|
|
8048
8037
|
medium: "43rem",
|
|
@@ -8135,7 +8124,7 @@ var DrawerWrapper = ({
|
|
|
8135
8124
|
offsetInPx = Math.round(maxLayeringInPx * relativeLevel);
|
|
8136
8125
|
}
|
|
8137
8126
|
const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
|
|
8138
|
-
return /* @__PURE__ */ jsxs45(
|
|
8127
|
+
return /* @__PURE__ */ jsxs45(Fragment7, { children: [
|
|
8139
8128
|
/* @__PURE__ */ jsx70("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
|
|
8140
8129
|
/* @__PURE__ */ jsx70(
|
|
8141
8130
|
"div",
|
|
@@ -8778,10 +8767,10 @@ var IntegrationLoadingFrame = css61`
|
|
|
8778
8767
|
`;
|
|
8779
8768
|
|
|
8780
8769
|
// src/components/Tiles/IntegrationLoadingTile.tsx
|
|
8781
|
-
import { Fragment as
|
|
8770
|
+
import { Fragment as Fragment8, jsx as jsx80, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
|
|
8782
8771
|
var IntegrationLoadingTile = ({ count = 1 }) => {
|
|
8783
8772
|
const componentCount = Array.from(Array(count).keys());
|
|
8784
|
-
return /* @__PURE__ */ jsx80(
|
|
8773
|
+
return /* @__PURE__ */ jsx80(Fragment8, { children: componentCount.map((i) => /* @__PURE__ */ jsxs52("div", { css: IntegrationLoadingTileContainer, children: [
|
|
8785
8774
|
/* @__PURE__ */ jsx80("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
|
|
8786
8775
|
/* @__PURE__ */ jsx80("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
|
|
8787
8776
|
] }, i)) });
|
|
@@ -9120,7 +9109,7 @@ var IntegrationModalHeaderContentWrapper = css66`
|
|
|
9120
9109
|
`;
|
|
9121
9110
|
|
|
9122
9111
|
// src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
|
|
9123
|
-
import { Fragment as
|
|
9112
|
+
import { Fragment as Fragment9, jsx as jsx87, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
|
|
9124
9113
|
var HexModalBackground = ({ ...props }) => {
|
|
9125
9114
|
return /* @__PURE__ */ jsxs55(
|
|
9126
9115
|
"svg",
|
|
@@ -9161,7 +9150,7 @@ var HexModalBackground = ({ ...props }) => {
|
|
|
9161
9150
|
);
|
|
9162
9151
|
};
|
|
9163
9152
|
var IntegrationModalHeader = ({ icon, name, menu, children }) => {
|
|
9164
|
-
return /* @__PURE__ */ jsxs55(
|
|
9153
|
+
return /* @__PURE__ */ jsxs55(Fragment9, { children: [
|
|
9165
9154
|
/* @__PURE__ */ jsx87(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
|
|
9166
9155
|
/* @__PURE__ */ jsx87("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs55("div", { css: IntegrationModalHeaderTitleGroup, children: [
|
|
9167
9156
|
icon ? /* @__PURE__ */ jsx87(IntegrationModalIcon, { icon, name: name || "" }) : null,
|
|
@@ -10747,7 +10736,7 @@ var CoverSelectedChip = css78`
|
|
|
10747
10736
|
`;
|
|
10748
10737
|
|
|
10749
10738
|
// src/components/Objects/ObjectGridItemCardCover.tsx
|
|
10750
|
-
import { Fragment as
|
|
10739
|
+
import { Fragment as Fragment10, jsx as jsx101, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
|
|
10751
10740
|
var ObjectGridItemCardCover = (props) => {
|
|
10752
10741
|
if ("imageUrl" in props && props.imageUrl) {
|
|
10753
10742
|
const { imageUrl, srcSet, alt } = props;
|
|
@@ -10779,7 +10768,7 @@ var ObjectGridItemCover = ({
|
|
|
10779
10768
|
coverSlotBottomRight,
|
|
10780
10769
|
...props
|
|
10781
10770
|
}) => {
|
|
10782
|
-
return /* @__PURE__ */ jsxs67(
|
|
10771
|
+
return /* @__PURE__ */ jsxs67(Fragment10, { children: [
|
|
10783
10772
|
coverSlotLeft ? /* @__PURE__ */ jsx101("div", { css: [CoverSlot, CoverSlotLeft], children: coverSlotLeft }) : null,
|
|
10784
10773
|
/* @__PURE__ */ jsx101(ObjectGridItemCardCover, { ...props }),
|
|
10785
10774
|
coverSlotRight ? /* @__PURE__ */ jsx101("div", { css: [CoverSlot, CoverSlotRight], children: coverSlotRight }) : null,
|
|
@@ -11461,7 +11450,7 @@ var previewModalImage = css87`
|
|
|
11461
11450
|
`;
|
|
11462
11451
|
|
|
11463
11452
|
// src/components/ParameterInputs/ParameterImagePreview.tsx
|
|
11464
|
-
import { Fragment as
|
|
11453
|
+
import { Fragment as Fragment11, jsx as jsx114, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
|
|
11465
11454
|
function ParameterImagePreview({ imageSrc }) {
|
|
11466
11455
|
const [showModal, setShowModal] = useState13(false);
|
|
11467
11456
|
return imageSrc ? /* @__PURE__ */ jsxs76("div", { css: previewWrapper, children: [
|
|
@@ -11479,7 +11468,7 @@ function ParameterImagePreview({ imageSrc }) {
|
|
|
11479
11468
|
] }) : null;
|
|
11480
11469
|
}
|
|
11481
11470
|
var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
|
|
11482
|
-
return open ? /* @__PURE__ */ jsx114(
|
|
11471
|
+
return open ? /* @__PURE__ */ jsx114(Fragment11, { children: createPortal2(
|
|
11483
11472
|
/* @__PURE__ */ jsx114(
|
|
11484
11473
|
Modal,
|
|
11485
11474
|
{
|
|
@@ -11969,7 +11958,7 @@ var ParameterShellPlaceholder = ({ children }) => {
|
|
|
11969
11958
|
var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx117(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx117("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx117("span", { hidden: true, children: "reset overridden value to default" }) }) });
|
|
11970
11959
|
|
|
11971
11960
|
// src/components/ParameterInputs/ParameterImage.tsx
|
|
11972
|
-
import { Fragment as
|
|
11961
|
+
import { Fragment as Fragment12, jsx as jsx118, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
|
|
11973
11962
|
var ParameterImage = forwardRef22(
|
|
11974
11963
|
({ children, ...props }, ref) => {
|
|
11975
11964
|
const { shellProps, innerProps } = extractParameterProps(props);
|
|
@@ -11983,7 +11972,7 @@ var ParameterImageInner = forwardRef22((props, ref) => {
|
|
|
11983
11972
|
const { value } = props;
|
|
11984
11973
|
const { id, label, hiddenLabel, errorMessage } = useParameterShell();
|
|
11985
11974
|
const deferredValue = useDeferredValue(value);
|
|
11986
|
-
return /* @__PURE__ */ jsxs78(
|
|
11975
|
+
return /* @__PURE__ */ jsxs78(Fragment12, { children: [
|
|
11987
11976
|
/* @__PURE__ */ jsx118(
|
|
11988
11977
|
"input",
|
|
11989
11978
|
{
|
|
@@ -12157,7 +12146,7 @@ var ParameterMultiSelectInner = (props) => {
|
|
|
12157
12146
|
};
|
|
12158
12147
|
|
|
12159
12148
|
// src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
|
|
12160
|
-
import { Fragment as
|
|
12149
|
+
import { Fragment as Fragment13, jsx as jsx122, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
|
|
12161
12150
|
var ParameterNameAndPublicIdInput = ({
|
|
12162
12151
|
id,
|
|
12163
12152
|
onBlur,
|
|
@@ -12183,7 +12172,7 @@ var ParameterNameAndPublicIdInput = ({
|
|
|
12183
12172
|
navigator.clipboard.writeText(values[publicIdFieldName]);
|
|
12184
12173
|
};
|
|
12185
12174
|
autoFocus == null ? void 0 : autoFocus();
|
|
12186
|
-
return /* @__PURE__ */ jsxs80(
|
|
12175
|
+
return /* @__PURE__ */ jsxs80(Fragment13, { children: [
|
|
12187
12176
|
/* @__PURE__ */ jsx122(
|
|
12188
12177
|
ParameterInput,
|
|
12189
12178
|
{
|
|
@@ -12758,7 +12747,7 @@ var getSelectedNode = (selection) => {
|
|
|
12758
12747
|
};
|
|
12759
12748
|
|
|
12760
12749
|
// src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
|
|
12761
|
-
import { Fragment as
|
|
12750
|
+
import { Fragment as Fragment14, jsx as jsx123, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
|
|
12762
12751
|
var isProjectMapLinkValue = (value) => {
|
|
12763
12752
|
return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
|
|
12764
12753
|
value.nodeId && value.path && value.projectMapId
|
|
@@ -13245,7 +13234,7 @@ function LinkNodePlugin({
|
|
|
13245
13234
|
});
|
|
13246
13235
|
});
|
|
13247
13236
|
};
|
|
13248
|
-
return /* @__PURE__ */ jsxs81(
|
|
13237
|
+
return /* @__PURE__ */ jsxs81(Fragment14, { children: [
|
|
13249
13238
|
/* @__PURE__ */ jsx123(
|
|
13250
13239
|
NodeEventPlugin,
|
|
13251
13240
|
{
|
|
@@ -13791,7 +13780,7 @@ import { calculateZoomLevel } from "@lexical/utils";
|
|
|
13791
13780
|
import { $getNearestNodeFromDOMNode } from "lexical";
|
|
13792
13781
|
import { useCallback as useCallback10, useEffect as useEffect19, useMemo as useMemo6, useRef as useRef11, useState as useState17 } from "react";
|
|
13793
13782
|
import { createPortal as createPortal3 } from "react-dom";
|
|
13794
|
-
import { Fragment as
|
|
13783
|
+
import { Fragment as Fragment15, jsx as jsx125, jsxs as jsxs83 } from "@emotion/react/jsx-runtime";
|
|
13795
13784
|
var MIN_ROW_HEIGHT = 33;
|
|
13796
13785
|
var MIN_COLUMN_WIDTH = 50;
|
|
13797
13786
|
var tableResizer = css94`
|
|
@@ -14092,7 +14081,7 @@ function TableCellResizer({ editor, positioningAnchorEl }) {
|
|
|
14092
14081
|
};
|
|
14093
14082
|
}, [activeCell, draggingDirection, mouseCurrentPos, positioningAnchorEl]);
|
|
14094
14083
|
const resizerStyles = getResizers();
|
|
14095
|
-
return /* @__PURE__ */ jsx125("div", { ref: resizerRef, children: activeCell != null && !isMouseDown && /* @__PURE__ */ jsxs83(
|
|
14084
|
+
return /* @__PURE__ */ jsx125("div", { ref: resizerRef, children: activeCell != null && !isMouseDown && /* @__PURE__ */ jsxs83(Fragment15, { children: [
|
|
14096
14085
|
/* @__PURE__ */ jsx125(
|
|
14097
14086
|
"div",
|
|
14098
14087
|
{
|
|
@@ -14352,7 +14341,7 @@ var useRichTextToolbarState = ({ config }) => {
|
|
|
14352
14341
|
};
|
|
14353
14342
|
|
|
14354
14343
|
// src/components/ParameterInputs/rich-text/toolbar/RichTextToolbar.tsx
|
|
14355
|
-
import { Fragment as
|
|
14344
|
+
import { Fragment as Fragment16, jsx as jsx126, jsxs as jsxs84 } from "@emotion/react/jsx-runtime";
|
|
14356
14345
|
var toolbar = css95`
|
|
14357
14346
|
${scrollbarStyles}
|
|
14358
14347
|
background: var(--gray-50);
|
|
@@ -14607,7 +14596,7 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
|
|
|
14607
14596
|
children: /* @__PURE__ */ jsx126(RichTextToolbarIcon, { icon: "link" })
|
|
14608
14597
|
}
|
|
14609
14598
|
) }) : null,
|
|
14610
|
-
visibleLists.size > 0 ? /* @__PURE__ */ jsxs84(
|
|
14599
|
+
visibleLists.size > 0 ? /* @__PURE__ */ jsxs84(Fragment16, { children: [
|
|
14611
14600
|
visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx126(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx126(
|
|
14612
14601
|
"button",
|
|
14613
14602
|
{
|
|
@@ -14704,7 +14693,7 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
|
|
|
14704
14693
|
var RichTextToolbar_default = RichTextToolbar;
|
|
14705
14694
|
|
|
14706
14695
|
// src/components/ParameterInputs/ParameterRichText.tsx
|
|
14707
|
-
import { Fragment as
|
|
14696
|
+
import { Fragment as Fragment17, jsx as jsx127, jsxs as jsxs85 } from "@emotion/react/jsx-runtime";
|
|
14708
14697
|
var ParameterRichText = ({
|
|
14709
14698
|
label,
|
|
14710
14699
|
labelLeadingIcon,
|
|
@@ -14769,7 +14758,7 @@ var ParameterRichText = ({
|
|
|
14769
14758
|
children
|
|
14770
14759
|
}
|
|
14771
14760
|
),
|
|
14772
|
-
menuItems ? /* @__PURE__ */ jsx127(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx127(
|
|
14761
|
+
menuItems ? /* @__PURE__ */ jsx127(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx127(Fragment17, { children: menuItems }) }) : null
|
|
14773
14762
|
]
|
|
14774
14763
|
}
|
|
14775
14764
|
);
|
|
@@ -14930,7 +14919,7 @@ var ParameterRichTextInner = ({
|
|
|
14930
14919
|
},
|
|
14931
14920
|
editable: !readOnly
|
|
14932
14921
|
};
|
|
14933
|
-
return /* @__PURE__ */ jsxs85(
|
|
14922
|
+
return /* @__PURE__ */ jsxs85(Fragment17, { children: [
|
|
14934
14923
|
/* @__PURE__ */ jsx127("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx127(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx127(
|
|
14935
14924
|
RichText,
|
|
14936
14925
|
{
|
|
@@ -15009,7 +14998,7 @@ var RichText = ({
|
|
|
15009
14998
|
setPortalContainerRef(_portalContainerRef);
|
|
15010
14999
|
}
|
|
15011
15000
|
};
|
|
15012
|
-
return /* @__PURE__ */ jsxs85(
|
|
15001
|
+
return /* @__PURE__ */ jsxs85(Fragment17, { children: [
|
|
15013
15002
|
readOnly || minimalInteractivity ? null : /* @__PURE__ */ jsx127(
|
|
15014
15003
|
RichTextToolbar_default,
|
|
15015
15004
|
{
|
|
@@ -15053,7 +15042,7 @@ var RichText = ({
|
|
|
15053
15042
|
]
|
|
15054
15043
|
}
|
|
15055
15044
|
),
|
|
15056
|
-
/* @__PURE__ */ jsx127(
|
|
15045
|
+
/* @__PURE__ */ jsx127(Fragment17, { children }),
|
|
15057
15046
|
editorContainerRef ? /* @__PURE__ */ jsx127(
|
|
15058
15047
|
LinkNodePlugin,
|
|
15059
15048
|
{
|
|
@@ -15151,7 +15140,7 @@ import {
|
|
|
15151
15140
|
usePopoverStore as usePopoverStore2
|
|
15152
15141
|
} from "@ariakit/react";
|
|
15153
15142
|
import { useEffect as useEffect23 } from "react";
|
|
15154
|
-
import { Fragment as
|
|
15143
|
+
import { Fragment as Fragment18, jsx as jsx131, jsxs as jsxs88 } from "@emotion/react/jsx-runtime";
|
|
15155
15144
|
var Popover3 = ({
|
|
15156
15145
|
iconColor = "action",
|
|
15157
15146
|
icon = "info",
|
|
@@ -15178,7 +15167,7 @@ var Popover3 = ({
|
|
|
15178
15167
|
css: [PopoverBtn, trigger2 ? void 0 : PopoverDefaulterTriggerBtn],
|
|
15179
15168
|
title: buttonText,
|
|
15180
15169
|
"data-testid": testId,
|
|
15181
|
-
children: trigger2 ? trigger2 : /* @__PURE__ */ jsxs88(
|
|
15170
|
+
children: trigger2 ? trigger2 : /* @__PURE__ */ jsxs88(Fragment18, { children: [
|
|
15182
15171
|
/* @__PURE__ */ jsx131(Icon, { icon, iconColor, size: iconSize }),
|
|
15183
15172
|
/* @__PURE__ */ jsx131("span", { hidden: true, children: buttonText })
|
|
15184
15173
|
] })
|
|
@@ -16347,14 +16336,14 @@ var SwitchText = (size) => css104`
|
|
|
16347
16336
|
`;
|
|
16348
16337
|
|
|
16349
16338
|
// src/components/Switch/Switch.tsx
|
|
16350
|
-
import { Fragment as
|
|
16339
|
+
import { Fragment as Fragment19, jsx as jsx137, jsxs as jsxs92 } from "@emotion/react/jsx-runtime";
|
|
16351
16340
|
var Switch = forwardRef29(
|
|
16352
16341
|
({ label, infoText, toggleText, children, switchSize = "base", ...inputProps }, ref) => {
|
|
16353
16342
|
let additionalText = infoText;
|
|
16354
16343
|
if (infoText && toggleText) {
|
|
16355
16344
|
additionalText = inputProps.checked ? toggleText : infoText;
|
|
16356
16345
|
}
|
|
16357
|
-
return /* @__PURE__ */ jsxs92(
|
|
16346
|
+
return /* @__PURE__ */ jsxs92(Fragment19, { children: [
|
|
16358
16347
|
/* @__PURE__ */ jsxs92(
|
|
16359
16348
|
"label",
|
|
16360
16349
|
{
|
package/dist/index.js
CHANGED
|
@@ -8254,8 +8254,7 @@ var ChipContainer = import_react67.css`
|
|
|
8254
8254
|
}
|
|
8255
8255
|
|
|
8256
8256
|
&:hover {
|
|
8257
|
-
[role='presentation']
|
|
8258
|
-
[role='separator'] {
|
|
8257
|
+
[role='presentation'] {
|
|
8259
8258
|
transition: opacity var(--duration-fast) var(--timing-ease-out);
|
|
8260
8259
|
opacity: var(--opacity-100);
|
|
8261
8260
|
}
|
|
@@ -8267,8 +8266,7 @@ var ChipContainer = import_react67.css`
|
|
|
8267
8266
|
}
|
|
8268
8267
|
|
|
8269
8268
|
:where([aria-disabled='true'], :disabled):hover {
|
|
8270
|
-
[role='presentation']
|
|
8271
|
-
[role='separator'] {
|
|
8269
|
+
[role='presentation'] {
|
|
8272
8270
|
opacity: var(--opacity-50);
|
|
8273
8271
|
cursor: not-allowed;
|
|
8274
8272
|
}
|
|
@@ -8285,12 +8283,6 @@ var ChipIcon = import_react67.css`
|
|
|
8285
8283
|
display: flex;
|
|
8286
8284
|
opacity: var(--opacity-50);
|
|
8287
8285
|
`;
|
|
8288
|
-
var ChipSeparator = import_react67.css`
|
|
8289
|
-
display: flex;
|
|
8290
|
-
border-right: 1px solid var(--white);
|
|
8291
|
-
opacity: var(--opacity-50);
|
|
8292
|
-
margin-left: -1px;
|
|
8293
|
-
`;
|
|
8294
8286
|
var ChipTiny = (withIcon) => import_react67.css`
|
|
8295
8287
|
font-size: var(--fs-xs);
|
|
8296
8288
|
padding-inline: ${withIcon ? "calc(var(--spacing-2xs) + 2px) var(--spacing-sm)" : "var(--spacing-sm)"};
|
|
@@ -8542,10 +8534,7 @@ var Chip = ({
|
|
|
8542
8534
|
],
|
|
8543
8535
|
...props,
|
|
8544
8536
|
children: [
|
|
8545
|
-
icon ? /* @__PURE__ */ (0, import_jsx_runtime58.
|
|
8546
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon, iconColor, size: "1rem" }) }),
|
|
8547
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { role: "separator", css: ChipSeparator })
|
|
8548
|
-
] }) : null,
|
|
8537
|
+
icon ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon, iconColor, size: "1rem" }) }) : null,
|
|
8549
8538
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { css: ChipText, children: text }),
|
|
8550
8539
|
chipAction
|
|
8551
8540
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.22.1-alpha.0+b02aa0b2f0",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"exports": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"default": "./dist/esm/index.js"
|
|
11
11
|
},
|
|
12
12
|
"require": {
|
|
13
|
-
"types": "./dist/index.d.
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
14
|
"default": "./dist/index.js"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@storybook/theming": "^8.3.3",
|
|
39
39
|
"@types/react": "18.3.11",
|
|
40
40
|
"@types/react-dom": "18.3.1",
|
|
41
|
-
"@uniformdev/canvas": "^20.
|
|
42
|
-
"@uniformdev/richtext": "^20.
|
|
41
|
+
"@uniformdev/canvas": "^20.22.1-alpha.0+b02aa0b2f0",
|
|
42
|
+
"@uniformdev/richtext": "^20.22.1-alpha.0+b02aa0b2f0",
|
|
43
43
|
"@vitest/coverage-v8": "^3.1.2",
|
|
44
44
|
"autoprefixer": "10.4.21",
|
|
45
45
|
"hygen": "6.2.11",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"@lexical/selection": "0.25.0",
|
|
69
69
|
"@lexical/table": "0.25.0",
|
|
70
70
|
"@lexical/utils": "0.25.0",
|
|
71
|
-
"@monaco-editor/react": "4.
|
|
71
|
+
"@monaco-editor/react": "4.7.0",
|
|
72
72
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
|
|
73
73
|
"fast-equals": "^5.0.1",
|
|
74
74
|
"lexical": "0.25.0",
|
|
75
|
-
"monaco-editor": "0.
|
|
75
|
+
"monaco-editor": "0.52.2",
|
|
76
76
|
"react-aria-components": "^1.1.1",
|
|
77
77
|
"react-hotkeys-hook": "4.5.0",
|
|
78
78
|
"react-paginate": "8.3.0",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "b02aa0b2f0c3d94ec1f20953cb5bc36dfa9cdbc7"
|
|
95
95
|
}
|