@uniformdev/design-system 19.0.0 → 19.1.1-alpha.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/esm/index.js +33 -19
- package/dist/index.d.ts +19 -3
- package/dist/index.js +33 -19
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -440,7 +440,6 @@ var inputIcon = css2`
|
|
|
440
440
|
display: flex;
|
|
441
441
|
position: absolute;
|
|
442
442
|
inset: 0 var(--spacing-base) 0 auto;
|
|
443
|
-
pointer-events: none;
|
|
444
443
|
`;
|
|
445
444
|
var inputWithIcon = css2`
|
|
446
445
|
padding-right: var(--spacing-2xl);
|
|
@@ -12895,8 +12894,8 @@ var LimitsBar = ({ current, max, label }) => {
|
|
|
12895
12894
|
|
|
12896
12895
|
// src/components/LinkList/LinkList.styles.ts
|
|
12897
12896
|
import { css as css44 } from "@emotion/react";
|
|
12898
|
-
var LinkListContainer = css44`
|
|
12899
|
-
padding:
|
|
12897
|
+
var LinkListContainer = (padding) => css44`
|
|
12898
|
+
padding: ${padding};
|
|
12900
12899
|
|
|
12901
12900
|
${mq("sm")} {
|
|
12902
12901
|
grid-column: last-col / span 1;
|
|
@@ -12906,8 +12905,8 @@ var LinkListContainer = css44`
|
|
|
12906
12905
|
|
|
12907
12906
|
// src/components/LinkList/LinkList.tsx
|
|
12908
12907
|
import { jsx as jsx57, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
|
|
12909
|
-
var LinkList = ({ title, children, ...props }) => {
|
|
12910
|
-
return /* @__PURE__ */ jsxs34("div", { css: LinkListContainer, ...props, children: [
|
|
12908
|
+
var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
|
|
12909
|
+
return /* @__PURE__ */ jsxs34("div", { css: LinkListContainer(padding), ...props, children: [
|
|
12911
12910
|
/* @__PURE__ */ jsx57(Heading, { level: 3, children: title }),
|
|
12912
12911
|
children
|
|
12913
12912
|
] });
|
|
@@ -13955,33 +13954,39 @@ var ObjectListItemLoadingText = (textLength) => css59`
|
|
|
13955
13954
|
background: var(--gray-300);
|
|
13956
13955
|
display: block;
|
|
13957
13956
|
width: ${textLength};
|
|
13958
|
-
height: var(--fs-
|
|
13957
|
+
height: var(--fs-base);
|
|
13959
13958
|
`;
|
|
13960
13959
|
var ObjectListItemInlineGroup = css59`
|
|
13961
13960
|
align-items: center;
|
|
13961
|
+
color: var(--gray-500);
|
|
13962
13962
|
display: flex;
|
|
13963
|
-
gap: var(--spacing-
|
|
13963
|
+
gap: var(--spacing-base);
|
|
13964
|
+
`;
|
|
13965
|
+
var ObjectListItemIconTextGroup = css59`
|
|
13966
|
+
align-items: center;
|
|
13967
|
+
display: flex;
|
|
13968
|
+
gap: var(--spacing-xs);
|
|
13964
13969
|
`;
|
|
13965
13970
|
var ObjectListItemInlineHeadingGroup = css59`
|
|
13966
13971
|
justify-content: space-between;
|
|
13967
13972
|
`;
|
|
13968
13973
|
var ObjectListItemTitle = css59`
|
|
13969
13974
|
color: var(--brand-secondary-1);
|
|
13970
|
-
font-size: var(--fs-
|
|
13975
|
+
font-size: var(--fs-base);
|
|
13976
|
+
line-height: 1;
|
|
13971
13977
|
`;
|
|
13972
13978
|
var ObjectListItemSmallText = css59`
|
|
13973
|
-
|
|
13974
|
-
font-size: var(--fs-xs);
|
|
13979
|
+
font-size: var(--fs-sm);
|
|
13975
13980
|
min-width: max-content;
|
|
13976
13981
|
`;
|
|
13977
13982
|
var ObjectListKeyText = css59`
|
|
13978
13983
|
color: var(--gray-400);
|
|
13979
|
-
font-size: var(--fs-
|
|
13984
|
+
font-size: var(--fs-sm);
|
|
13980
13985
|
text-transform: capitalize;
|
|
13981
13986
|
`;
|
|
13982
13987
|
var ObjectListValueText = css59`
|
|
13983
13988
|
color: var(--gray-500);
|
|
13984
|
-
font-size: var(--fs-
|
|
13989
|
+
font-size: var(--fs-sm);
|
|
13985
13990
|
text-transform: none;
|
|
13986
13991
|
`;
|
|
13987
13992
|
|
|
@@ -14005,11 +14010,11 @@ var ObjectCompositionListItem = forwardRef8(
|
|
|
14005
14010
|
/* @__PURE__ */ jsx74("time", { role: "time", dateTime: `${date}`, css: ObjectListItemSmallText, children: formatDate(date) })
|
|
14006
14011
|
] }),
|
|
14007
14012
|
/* @__PURE__ */ jsxs48("div", { css: ObjectListItemInlineGroup, children: [
|
|
14008
|
-
!icon && !componentName ? null : /* @__PURE__ */ jsxs48("div", { css: [
|
|
14013
|
+
!icon && !componentName ? null : /* @__PURE__ */ jsxs48("div", { css: [ObjectListItemIconTextGroup, ObjectListItemSmallText], children: [
|
|
14009
14014
|
!icon ? null : /* @__PURE__ */ jsx74(Icon, { icon, size: "1rem" }),
|
|
14010
14015
|
!componentName ? null : /* @__PURE__ */ jsx74("span", { children: componentName })
|
|
14011
14016
|
] }),
|
|
14012
|
-
!publishStatus ? null : /* @__PURE__ */ jsx74(StatusBullet, { status: publishStatus
|
|
14017
|
+
!publishStatus ? null : /* @__PURE__ */ jsx74(StatusBullet, { status: publishStatus })
|
|
14013
14018
|
] })
|
|
14014
14019
|
] }) });
|
|
14015
14020
|
}
|
|
@@ -14200,7 +14205,7 @@ var SegmentedControl = ({
|
|
|
14200
14205
|
Tooltip,
|
|
14201
14206
|
{
|
|
14202
14207
|
title: isDisabled || !option.tooltip ? "" : option.tooltip,
|
|
14203
|
-
children: /* @__PURE__ */ jsx76("div", { css: segmentedControlItemStyles, children: /* @__PURE__ */ jsxs50(
|
|
14208
|
+
children: /* @__PURE__ */ jsx76("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs50(
|
|
14204
14209
|
"label",
|
|
14205
14210
|
{
|
|
14206
14211
|
css: [
|
|
@@ -14263,6 +14268,11 @@ var FilterGroup = css63`
|
|
|
14263
14268
|
${InlineGroup}
|
|
14264
14269
|
justify-content: space-between
|
|
14265
14270
|
`;
|
|
14271
|
+
var FilterGroupTitle = css63`
|
|
14272
|
+
font-weight: var(--fw-bold);
|
|
14273
|
+
font-size: var(--fs-sm);
|
|
14274
|
+
text-transform: uppercase;
|
|
14275
|
+
`;
|
|
14266
14276
|
var GroupLabel = css63`
|
|
14267
14277
|
font-size: var(--fs-sm);
|
|
14268
14278
|
`;
|
|
@@ -14275,6 +14285,8 @@ var ObjectListContainer = ({
|
|
|
14275
14285
|
filterOptions,
|
|
14276
14286
|
filterValue,
|
|
14277
14287
|
isLoading,
|
|
14288
|
+
isDisabled,
|
|
14289
|
+
hideControls,
|
|
14278
14290
|
onSetFilterOption,
|
|
14279
14291
|
resolveDefaultComponent = (value) => /* @__PURE__ */ jsx78(ObjectCompositionListItem, { ...value }),
|
|
14280
14292
|
children,
|
|
@@ -14288,8 +14300,8 @@ var ObjectListContainer = ({
|
|
|
14288
14300
|
}, [list]);
|
|
14289
14301
|
return /* @__PURE__ */ jsxs52(VerticalRhythm, { ...props, children: [
|
|
14290
14302
|
/* @__PURE__ */ jsxs52("div", { css: FilterGroup, children: [
|
|
14291
|
-
/* @__PURE__ */ jsx78(
|
|
14292
|
-
/* @__PURE__ */ jsxs52("div", { css: InlineGroup, children: [
|
|
14303
|
+
/* @__PURE__ */ jsx78("span", { css: FilterGroupTitle, role: "headin", children: title }),
|
|
14304
|
+
hideControls ? null : /* @__PURE__ */ jsxs52("div", { css: InlineGroup, children: [
|
|
14293
14305
|
/* @__PURE__ */ jsx78("span", { css: GroupLabel, children: "Show" }),
|
|
14294
14306
|
/* @__PURE__ */ jsx78(
|
|
14295
14307
|
SegmentedControl,
|
|
@@ -14299,7 +14311,7 @@ var ObjectListContainer = ({
|
|
|
14299
14311
|
value: filterValue,
|
|
14300
14312
|
onChange: (e) => onSetFilterOption(e),
|
|
14301
14313
|
noCheckmark: true,
|
|
14302
|
-
disabled:
|
|
14314
|
+
disabled: isDisabled
|
|
14303
14315
|
}
|
|
14304
14316
|
)
|
|
14305
14317
|
] })
|
|
@@ -15382,6 +15394,8 @@ var Popover = css69`
|
|
|
15382
15394
|
import { Fragment as Fragment13, jsx as jsx95, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
|
|
15383
15395
|
var Popover2 = ({
|
|
15384
15396
|
iconColor = "green",
|
|
15397
|
+
icon = "info",
|
|
15398
|
+
iconSize = "1rem",
|
|
15385
15399
|
buttonText,
|
|
15386
15400
|
ariaLabel,
|
|
15387
15401
|
placement = "bottom",
|
|
@@ -15390,7 +15404,7 @@ var Popover2 = ({
|
|
|
15390
15404
|
const popover = usePopoverState({ placement });
|
|
15391
15405
|
return /* @__PURE__ */ jsxs65(Fragment13, { children: [
|
|
15392
15406
|
/* @__PURE__ */ jsxs65(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
|
|
15393
|
-
/* @__PURE__ */ jsx95(Icon, { icon
|
|
15407
|
+
/* @__PURE__ */ jsx95(Icon, { icon, iconColor, size: iconSize }),
|
|
15394
15408
|
/* @__PURE__ */ jsx95("span", { hidden: true, children: buttonText })
|
|
15395
15409
|
] }),
|
|
15396
15410
|
/* @__PURE__ */ jsx95(Portal2, { children: /* @__PURE__ */ jsx95(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
|
package/dist/index.d.ts
CHANGED
|
@@ -21019,10 +21019,14 @@ declare const LimitsBar: ({ current, max, label }: LimitsBarProps) => _emotion_r
|
|
|
21019
21019
|
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
21020
21020
|
/** sets the title field */
|
|
21021
21021
|
title: string;
|
|
21022
|
+
/** sets padding value
|
|
21023
|
+
* @default 'var(--spacing-md)'
|
|
21024
|
+
*/
|
|
21025
|
+
padding?: string;
|
|
21022
21026
|
/** (optional) sets react child component */
|
|
21023
21027
|
children?: React$1.ReactNode;
|
|
21024
21028
|
};
|
|
21025
|
-
declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21029
|
+
declare const LinkList: ({ title, padding, children, ...props }: LinkListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21026
21030
|
|
|
21027
21031
|
type ScrollableListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
21028
21032
|
/** (optional) sets the label value */
|
|
@@ -21432,13 +21436,17 @@ type ObjectListContainerProps = {
|
|
|
21432
21436
|
* @default 'ObjectCompositionListItem'
|
|
21433
21437
|
*/
|
|
21434
21438
|
resolveDefaultComponent?: (value: ObjectCompositionListItemProps) => React$1.ReactNode;
|
|
21439
|
+
/** sets the disabled state on the segmented control filter options */
|
|
21440
|
+
isDisabled?: boolean;
|
|
21441
|
+
/** sets whether to show or hide the controls */
|
|
21442
|
+
hideControls?: boolean;
|
|
21435
21443
|
children?: React$1.ReactNode;
|
|
21436
21444
|
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
21437
21445
|
/**
|
|
21438
21446
|
* @description
|
|
21439
21447
|
* @example <ObjectListContainer
|
|
21440
21448
|
*/
|
|
21441
|
-
declare const ObjectListContainer: ({ title, list, filterOptions, filterValue, isLoading, onSetFilterOption, resolveDefaultComponent, children, ...props }: ObjectListContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21449
|
+
declare const ObjectListContainer: ({ title, list, filterOptions, filterValue, isLoading, isDisabled, hideControls, onSetFilterOption, resolveDefaultComponent, children, ...props }: ObjectListContainerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21442
21450
|
|
|
21443
21451
|
declare const ObjectListItemLoadingSkeleton: () => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21444
21452
|
|
|
@@ -21786,6 +21794,14 @@ type PopoverProps = PopoverProps$1 & {
|
|
|
21786
21794
|
* @default 'green'
|
|
21787
21795
|
*/
|
|
21788
21796
|
iconColor?: IconColor;
|
|
21797
|
+
/** sets the icon type
|
|
21798
|
+
* @default 'info'
|
|
21799
|
+
*/
|
|
21800
|
+
icon?: IconType;
|
|
21801
|
+
/** sets the icon size
|
|
21802
|
+
* @default '1rem'
|
|
21803
|
+
*/
|
|
21804
|
+
iconSize?: string;
|
|
21789
21805
|
/** sets the aria label attribute on the popover */
|
|
21790
21806
|
ariaLabel?: string;
|
|
21791
21807
|
/** sets the title attr and text of the button */
|
|
@@ -21796,7 +21812,7 @@ type PopoverProps = PopoverProps$1 & {
|
|
|
21796
21812
|
placement?: PopoverInitialState['placement'];
|
|
21797
21813
|
children: ReactNode;
|
|
21798
21814
|
};
|
|
21799
|
-
declare const Popover: ({ iconColor, buttonText, ariaLabel, placement, children, }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21815
|
+
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, children, }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21800
21816
|
|
|
21801
21817
|
type ProgressListItemStatus = 'completed' | 'inProgress' | 'queued';
|
|
21802
21818
|
type ProgressListProps = React__default.HTMLAttributes<HTMLOListElement> & {
|
package/dist/index.js
CHANGED
|
@@ -654,7 +654,6 @@ var inputIcon = import_react4.css`
|
|
|
654
654
|
display: flex;
|
|
655
655
|
position: absolute;
|
|
656
656
|
inset: 0 var(--spacing-base) 0 auto;
|
|
657
|
-
pointer-events: none;
|
|
658
657
|
`;
|
|
659
658
|
var inputWithIcon = import_react4.css`
|
|
660
659
|
padding-right: var(--spacing-2xl);
|
|
@@ -13105,8 +13104,8 @@ var LimitsBar = ({ current, max, label }) => {
|
|
|
13105
13104
|
|
|
13106
13105
|
// src/components/LinkList/LinkList.styles.ts
|
|
13107
13106
|
var import_react57 = require("@emotion/react");
|
|
13108
|
-
var LinkListContainer = import_react57.css`
|
|
13109
|
-
padding:
|
|
13107
|
+
var LinkListContainer = (padding) => import_react57.css`
|
|
13108
|
+
padding: ${padding};
|
|
13110
13109
|
|
|
13111
13110
|
${mq("sm")} {
|
|
13112
13111
|
grid-column: last-col / span 1;
|
|
@@ -13116,8 +13115,8 @@ var LinkListContainer = import_react57.css`
|
|
|
13116
13115
|
|
|
13117
13116
|
// src/components/LinkList/LinkList.tsx
|
|
13118
13117
|
var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
|
|
13119
|
-
var LinkList = ({ title, children, ...props }) => {
|
|
13120
|
-
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { css: LinkListContainer, ...props, children: [
|
|
13118
|
+
var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
|
|
13119
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
|
|
13121
13120
|
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading, { level: 3, children: title }),
|
|
13122
13121
|
children
|
|
13123
13122
|
] });
|
|
@@ -14165,33 +14164,39 @@ var ObjectListItemLoadingText = (textLength) => import_react74.css`
|
|
|
14165
14164
|
background: var(--gray-300);
|
|
14166
14165
|
display: block;
|
|
14167
14166
|
width: ${textLength};
|
|
14168
|
-
height: var(--fs-
|
|
14167
|
+
height: var(--fs-base);
|
|
14169
14168
|
`;
|
|
14170
14169
|
var ObjectListItemInlineGroup = import_react74.css`
|
|
14171
14170
|
align-items: center;
|
|
14171
|
+
color: var(--gray-500);
|
|
14172
14172
|
display: flex;
|
|
14173
|
-
gap: var(--spacing-
|
|
14173
|
+
gap: var(--spacing-base);
|
|
14174
|
+
`;
|
|
14175
|
+
var ObjectListItemIconTextGroup = import_react74.css`
|
|
14176
|
+
align-items: center;
|
|
14177
|
+
display: flex;
|
|
14178
|
+
gap: var(--spacing-xs);
|
|
14174
14179
|
`;
|
|
14175
14180
|
var ObjectListItemInlineHeadingGroup = import_react74.css`
|
|
14176
14181
|
justify-content: space-between;
|
|
14177
14182
|
`;
|
|
14178
14183
|
var ObjectListItemTitle = import_react74.css`
|
|
14179
14184
|
color: var(--brand-secondary-1);
|
|
14180
|
-
font-size: var(--fs-
|
|
14185
|
+
font-size: var(--fs-base);
|
|
14186
|
+
line-height: 1;
|
|
14181
14187
|
`;
|
|
14182
14188
|
var ObjectListItemSmallText = import_react74.css`
|
|
14183
|
-
|
|
14184
|
-
font-size: var(--fs-xs);
|
|
14189
|
+
font-size: var(--fs-sm);
|
|
14185
14190
|
min-width: max-content;
|
|
14186
14191
|
`;
|
|
14187
14192
|
var ObjectListKeyText = import_react74.css`
|
|
14188
14193
|
color: var(--gray-400);
|
|
14189
|
-
font-size: var(--fs-
|
|
14194
|
+
font-size: var(--fs-sm);
|
|
14190
14195
|
text-transform: capitalize;
|
|
14191
14196
|
`;
|
|
14192
14197
|
var ObjectListValueText = import_react74.css`
|
|
14193
14198
|
color: var(--gray-500);
|
|
14194
|
-
font-size: var(--fs-
|
|
14199
|
+
font-size: var(--fs-sm);
|
|
14195
14200
|
text-transform: none;
|
|
14196
14201
|
`;
|
|
14197
14202
|
|
|
@@ -14215,11 +14220,11 @@ var ObjectCompositionListItem = (0, import_react75.forwardRef)(
|
|
|
14215
14220
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("time", { role: "time", dateTime: `${date}`, css: ObjectListItemSmallText, children: formatDate(date) })
|
|
14216
14221
|
] }),
|
|
14217
14222
|
/* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: ObjectListItemInlineGroup, children: [
|
|
14218
|
-
!icon && !componentName ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: [
|
|
14223
|
+
!icon && !componentName ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: [ObjectListItemIconTextGroup, ObjectListItemSmallText], children: [
|
|
14219
14224
|
!icon ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { icon, size: "1rem" }),
|
|
14220
14225
|
!componentName ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: componentName })
|
|
14221
14226
|
] }),
|
|
14222
|
-
!publishStatus ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(StatusBullet, { status: publishStatus
|
|
14227
|
+
!publishStatus ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(StatusBullet, { status: publishStatus })
|
|
14223
14228
|
] })
|
|
14224
14229
|
] }) });
|
|
14225
14230
|
}
|
|
@@ -14405,7 +14410,7 @@ var SegmentedControl = ({
|
|
|
14405
14410
|
Tooltip,
|
|
14406
14411
|
{
|
|
14407
14412
|
title: isDisabled || !option.tooltip ? "" : option.tooltip,
|
|
14408
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { css: segmentedControlItemStyles, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
14413
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
|
|
14409
14414
|
"label",
|
|
14410
14415
|
{
|
|
14411
14416
|
css: [
|
|
@@ -14468,6 +14473,11 @@ var FilterGroup = import_react81.css`
|
|
|
14468
14473
|
${InlineGroup}
|
|
14469
14474
|
justify-content: space-between
|
|
14470
14475
|
`;
|
|
14476
|
+
var FilterGroupTitle = import_react81.css`
|
|
14477
|
+
font-weight: var(--fw-bold);
|
|
14478
|
+
font-size: var(--fs-sm);
|
|
14479
|
+
text-transform: uppercase;
|
|
14480
|
+
`;
|
|
14471
14481
|
var GroupLabel = import_react81.css`
|
|
14472
14482
|
font-size: var(--fs-sm);
|
|
14473
14483
|
`;
|
|
@@ -14480,6 +14490,8 @@ var ObjectListContainer = ({
|
|
|
14480
14490
|
filterOptions,
|
|
14481
14491
|
filterValue,
|
|
14482
14492
|
isLoading,
|
|
14493
|
+
isDisabled,
|
|
14494
|
+
hideControls,
|
|
14483
14495
|
onSetFilterOption,
|
|
14484
14496
|
resolveDefaultComponent = (value) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ObjectCompositionListItem, { ...value }),
|
|
14485
14497
|
children,
|
|
@@ -14493,8 +14505,8 @@ var ObjectListContainer = ({
|
|
|
14493
14505
|
}, [list]);
|
|
14494
14506
|
return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(VerticalRhythm, { ...props, children: [
|
|
14495
14507
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: FilterGroup, children: [
|
|
14496
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
14497
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: InlineGroup, children: [
|
|
14508
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { css: FilterGroupTitle, role: "headin", children: title }),
|
|
14509
|
+
hideControls ? null : /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: InlineGroup, children: [
|
|
14498
14510
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { css: GroupLabel, children: "Show" }),
|
|
14499
14511
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
14500
14512
|
SegmentedControl,
|
|
@@ -14504,7 +14516,7 @@ var ObjectListContainer = ({
|
|
|
14504
14516
|
value: filterValue,
|
|
14505
14517
|
onChange: (e) => onSetFilterOption(e),
|
|
14506
14518
|
noCheckmark: true,
|
|
14507
|
-
disabled:
|
|
14519
|
+
disabled: isDisabled
|
|
14508
14520
|
}
|
|
14509
14521
|
)
|
|
14510
14522
|
] })
|
|
@@ -15583,6 +15595,8 @@ var Popover = import_react99.css`
|
|
|
15583
15595
|
var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
|
|
15584
15596
|
var Popover2 = ({
|
|
15585
15597
|
iconColor = "green",
|
|
15598
|
+
icon = "info",
|
|
15599
|
+
iconSize = "1rem",
|
|
15586
15600
|
buttonText,
|
|
15587
15601
|
ariaLabel,
|
|
15588
15602
|
placement = "bottom",
|
|
@@ -15591,7 +15605,7 @@ var Popover2 = ({
|
|
|
15591
15605
|
const popover = (0, import_Popover.usePopoverState)({ placement });
|
|
15592
15606
|
return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
|
|
15593
15607
|
/* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
|
|
15594
|
-
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Icon, { icon
|
|
15608
|
+
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Icon, { icon, iconColor, size: iconSize }),
|
|
15595
15609
|
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { hidden: true, children: buttonText })
|
|
15596
15610
|
] }),
|
|
15597
15611
|
/* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_Portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_Popover.Popover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.1-alpha.1+3ec68fe9d",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@storybook/addon-docs": "6.5.16",
|
|
23
23
|
"@storybook/client-api": "6.5.16",
|
|
24
24
|
"@storybook/react": "6.5.16",
|
|
25
|
-
"@types/react": "18.0.
|
|
25
|
+
"@types/react": "18.0.37",
|
|
26
26
|
"autoprefixer": "10.4.14",
|
|
27
27
|
"hygen": "6.2.11",
|
|
28
|
-
"postcss": "8.4.
|
|
28
|
+
"postcss": "8.4.23",
|
|
29
29
|
"react": "18.2.0",
|
|
30
30
|
"react-dom": "18.2.0",
|
|
31
31
|
"tsup": "6.7.0"
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "3ec68fe9d54c7128e57cc8a5c8116fe968f65865"
|
|
58
58
|
}
|