braid-design-system 32.8.3 → 32.9.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/CHANGELOG.md +27 -0
- package/codemod/dist/wrapper.js +52003 -50406
- package/dist/index.chunk.cjs +37 -1
- package/dist/index.chunk.mjs +37 -1
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -1
- package/dist/playroom/components.cjs +1 -0
- package/dist/playroom/components.d.ts +1 -1
- package/dist/playroom/components.mjs +2 -1
- package/dist/playroom/snippets.cjs +60 -52
- package/dist/playroom/snippets.mjs +60 -52
- package/dist/reset.d.ts +9 -1
- package/dist/styles/lib/components/Page/Page.css.cjs +10 -0
- package/dist/styles/lib/components/Page/Page.css.mjs +11 -0
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const snippets$
|
|
1
|
+
const snippets$K = [{
|
|
2
2
|
name: "Large",
|
|
3
3
|
code: '<Accordion>\n <AccordionItem label="Item 1">\n <Placeholder height={100} />\n </AccordionItem>\n <AccordionItem label="Item 2">\n <Placeholder height={100} />\n </AccordionItem>\n <AccordionItem label="Item 3">\n <Placeholder height={100} />\n </AccordionItem>\n </Accordion>'
|
|
4
4
|
}, {
|
|
@@ -20,7 +20,7 @@ const snippets$J = [{
|
|
|
20
20
|
name: "Standalone item with a badge",
|
|
21
21
|
code: '<AccordionItem label="Label" badge={<Badge tone="promote" weight="strong">\n Badge\n </Badge>}>\n <Placeholder height={100} />\n </AccordionItem>'
|
|
22
22
|
}];
|
|
23
|
-
const snippets$
|
|
23
|
+
const snippets$J = [{
|
|
24
24
|
name: "With multiple buttons",
|
|
25
25
|
code: '<Actions>\n <Button>Submit</Button>\n <Button variant="transparent">Cancel</Button>\n </Actions>'
|
|
26
26
|
}, {
|
|
@@ -33,7 +33,7 @@ const snippets$I = [{
|
|
|
33
33
|
name: "Small size",
|
|
34
34
|
code: '<Actions size="small">\n <Button>Button 1</Button>\n <Button>Button 2</Button>\n <Button variant="transparent">Button 3</Button>\n </Actions>'
|
|
35
35
|
}];
|
|
36
|
-
const snippets$
|
|
36
|
+
const snippets$I = [{
|
|
37
37
|
name: "Critical",
|
|
38
38
|
code: '<Alert tone="critical">\n <Text>Critical Alert</Text>\n </Alert>'
|
|
39
39
|
}, {
|
|
@@ -52,7 +52,7 @@ const snippets$H = [{
|
|
|
52
52
|
name: "Dismissible alert",
|
|
53
53
|
code: '<Alert onClose={() => {}} closeLabel="Close">\n <Text>Dismissible Alert</Text>\n </Alert>'
|
|
54
54
|
}];
|
|
55
|
-
const snippets$
|
|
55
|
+
const snippets$H = [{
|
|
56
56
|
name: "Standard",
|
|
57
57
|
code: `<Autosuggest id="fruit" label="Fruit" suggestions={[{
|
|
58
58
|
text: 'Apples'
|
|
@@ -127,7 +127,7 @@ const snippets$G = [{
|
|
|
127
127
|
text: 'Sydney'
|
|
128
128
|
}]} />`
|
|
129
129
|
}];
|
|
130
|
-
const snippets$
|
|
130
|
+
const snippets$G = [{
|
|
131
131
|
name: "Info",
|
|
132
132
|
code: '<Badge tone="info">Badge</Badge>'
|
|
133
133
|
}, {
|
|
@@ -167,7 +167,7 @@ const snippets$F = [{
|
|
|
167
167
|
name: "Multiple",
|
|
168
168
|
code: '<Inline space="small">\n <Badge tone="info">Badge</Badge>\n <Badge tone="positive">Badge</Badge>\n <Badge tone="promote">Badge</Badge>\n </Inline>'
|
|
169
169
|
}];
|
|
170
|
-
const snippets$
|
|
170
|
+
const snippets$F = [{
|
|
171
171
|
name: "On all sides",
|
|
172
172
|
code: '<Bleed space="gutter">\n <Placeholder height={80} />\n </Bleed>'
|
|
173
173
|
}, {
|
|
@@ -189,7 +189,7 @@ const snippets$E = [{
|
|
|
189
189
|
name: "To the right",
|
|
190
190
|
code: '<Bleed right="gutter">\n <Placeholder height={80} />\n </Bleed>'
|
|
191
191
|
}];
|
|
192
|
-
const snippets$
|
|
192
|
+
const snippets$E = [{
|
|
193
193
|
name: "Solid",
|
|
194
194
|
code: "<Button>Button</Button>"
|
|
195
195
|
}, {
|
|
@@ -250,7 +250,7 @@ const snippets$D = [{
|
|
|
250
250
|
name: "Small Transparent",
|
|
251
251
|
code: '<Button size="small" variant="transparent">\n Button\n </Button>'
|
|
252
252
|
}];
|
|
253
|
-
const snippets$
|
|
253
|
+
const snippets$D = [{
|
|
254
254
|
name: "Soft",
|
|
255
255
|
code: '<ButtonIcon variant="soft" icon={<IconBookmark />} label="Bookmark" id="buttonicon-soft" />'
|
|
256
256
|
}, {
|
|
@@ -263,7 +263,7 @@ const snippets$C = [{
|
|
|
263
263
|
name: "Secondary",
|
|
264
264
|
code: '<ButtonIcon tone="secondary" icon={<IconClear />} label="Close" id="buttonicon-secondary" />'
|
|
265
265
|
}];
|
|
266
|
-
const snippets$
|
|
266
|
+
const snippets$C = [{
|
|
267
267
|
name: "With Heading",
|
|
268
268
|
code: '<Card>\n <Stack space="gutter">\n <Heading level="3">Heading</Heading>\n <Text>Text</Text>\n </Stack>\n </Card>'
|
|
269
269
|
}, {
|
|
@@ -279,7 +279,7 @@ const snippets$B = [{
|
|
|
279
279
|
name: "With Overflow Menu",
|
|
280
280
|
code: '<Card>\n <Stack space="gutter">\n <Columns space="gutter">\n <Column>\n <Heading level="3">Heading</Heading>\n </Column>\n <Column width="content">\n <OverflowMenu label="Options">\n <MenuItem>Menu Item</MenuItem>\n </OverflowMenu>\n </Column>\n </Columns>\n <Text>Text</Text>\n </Stack>\n </Card>'
|
|
281
281
|
}];
|
|
282
|
-
const snippets$
|
|
282
|
+
const snippets$B = [{
|
|
283
283
|
name: "Standard",
|
|
284
284
|
code: '<Checkbox label="Label" />'
|
|
285
285
|
}, {
|
|
@@ -298,7 +298,7 @@ const snippets$A = [{
|
|
|
298
298
|
name: "With nested content",
|
|
299
299
|
code: '<Checkbox label="Label">\n <Placeholder height={100} />\n </Checkbox>'
|
|
300
300
|
}];
|
|
301
|
-
const snippets$
|
|
301
|
+
const snippets$A = [{
|
|
302
302
|
name: "2 Columns",
|
|
303
303
|
code: '<Columns space="gutter">\n <Column>\n <Placeholder height={60} label="Column" />\n </Column>\n <Column>\n <Placeholder height={60} label="Column" />\n </Column>\n </Columns>'
|
|
304
304
|
}, {
|
|
@@ -314,7 +314,7 @@ const snippets$z = [{
|
|
|
314
314
|
name: "Main Content With Sidebar",
|
|
315
315
|
code: '<Columns space="gutter" collapseBelow="tablet">\n <Column width="2/3">\n <Placeholder height={400} label="Main" />\n </Column>\n <Column>\n <Placeholder height={100} label="Sidebar" />\n </Column>\n </Columns>'
|
|
316
316
|
}];
|
|
317
|
-
const snippets$
|
|
317
|
+
const snippets$z = [{
|
|
318
318
|
name: "Standard",
|
|
319
319
|
code: "<ContentBlock>\n <Placeholder height={100} />\n </ContentBlock>"
|
|
320
320
|
}, {
|
|
@@ -327,7 +327,7 @@ const snippets$y = [{
|
|
|
327
327
|
name: "Large",
|
|
328
328
|
code: '<ContentBlock width="large">\n <Placeholder height={100} />\n </ContentBlock>'
|
|
329
329
|
}];
|
|
330
|
-
const snippets$
|
|
330
|
+
const snippets$y = [{
|
|
331
331
|
name: "Standard",
|
|
332
332
|
code: '<Dialog title="Dialog Heading" open={true}>\n <Placeholder width={250} height={100} />\n </Dialog>'
|
|
333
333
|
}, {
|
|
@@ -346,18 +346,18 @@ const snippets$x = [{
|
|
|
346
346
|
name: "Large",
|
|
347
347
|
code: '<Dialog title="Dialog Heading" width="large" open={true}>\n <Placeholder width="100%" height={100} />\n </Dialog>'
|
|
348
348
|
}];
|
|
349
|
-
const snippets$
|
|
349
|
+
const snippets$x = [{
|
|
350
350
|
name: "Standard",
|
|
351
351
|
code: '<Disclosure expandLabel="Show" collapseLabel="Hide">\n <Stack space="large">\n <Text>Content</Text>\n </Stack>\n </Disclosure>'
|
|
352
352
|
}];
|
|
353
|
-
const snippets$
|
|
353
|
+
const snippets$w = [{
|
|
354
354
|
name: "Regular",
|
|
355
355
|
code: "<Divider />"
|
|
356
356
|
}, {
|
|
357
357
|
name: "Strong",
|
|
358
358
|
code: '<Divider weight="strong" />'
|
|
359
359
|
}];
|
|
360
|
-
const snippets$
|
|
360
|
+
const snippets$v = [{
|
|
361
361
|
name: "Default",
|
|
362
362
|
code: '<Drawer title="Drawer Heading" open={true}>\n <Placeholder width="100%" height={100} />\n </Drawer>'
|
|
363
363
|
}, {
|
|
@@ -370,7 +370,7 @@ const snippets$u = [{
|
|
|
370
370
|
name: "Large",
|
|
371
371
|
code: '<Drawer title="Drawer Heading" width="large" open={true}>\n <Placeholder width="100%" height={100} />\n </Drawer>'
|
|
372
372
|
}];
|
|
373
|
-
const snippets$
|
|
373
|
+
const snippets$u = [{
|
|
374
374
|
name: "Standard",
|
|
375
375
|
code: '<Dropdown label="Label" placeholder="Please select">\n <option>Option 1</option>\n <option>Option 2</option>\n <option>Option 3</option>\n </Dropdown>'
|
|
376
376
|
}, {
|
|
@@ -392,7 +392,7 @@ const snippets$t = [{
|
|
|
392
392
|
name: "With a positive message",
|
|
393
393
|
code: '<Dropdown label="Label" placeholder="Please select" tone="positive" message="Positive message">\n <option>Option 1</option>\n <option>Option 2</option>\n <option>Option 3</option>\n </Dropdown>'
|
|
394
394
|
}];
|
|
395
|
-
const snippets$
|
|
395
|
+
const snippets$t = [{
|
|
396
396
|
name: "Standard",
|
|
397
397
|
code: '<FieldLabel label="Label" />'
|
|
398
398
|
}, {
|
|
@@ -402,7 +402,7 @@ const snippets$s = [{
|
|
|
402
402
|
name: "Standard with tertiary label",
|
|
403
403
|
code: '<FieldLabel label="Label" secondaryLabel="Optional" tertiaryLabel={<TextLink href="#">Help?</TextLink>} />'
|
|
404
404
|
}];
|
|
405
|
-
const snippets$
|
|
405
|
+
const snippets$s = [{
|
|
406
406
|
name: "Standard",
|
|
407
407
|
code: '<FieldMessage message="This is a message" />'
|
|
408
408
|
}, {
|
|
@@ -415,7 +415,7 @@ const snippets$r = [{
|
|
|
415
415
|
name: "Secondary message",
|
|
416
416
|
code: '<FieldMessage message="This is a message" secondaryMessage={<Text size="small" tone="secondary">\n Secondary\n </Text>} />'
|
|
417
417
|
}];
|
|
418
|
-
const snippets$
|
|
418
|
+
const snippets$r = [{
|
|
419
419
|
name: "Level 1",
|
|
420
420
|
code: '<Heading level="1">Heading</Heading>'
|
|
421
421
|
}, {
|
|
@@ -443,7 +443,7 @@ const snippets$q = [{
|
|
|
443
443
|
name: "Level 4 (Weak)",
|
|
444
444
|
code: '<Heading level="4" weight="weak">\n Heading\n </Heading>'
|
|
445
445
|
}];
|
|
446
|
-
const snippets$
|
|
446
|
+
const snippets$q = [{
|
|
447
447
|
name: "Small space",
|
|
448
448
|
code: '<Inline space="small">\n <Placeholder width={48} height={48} />\n <Placeholder width={48} height={48} />\n <Placeholder width={48} height={48} />\n </Inline>'
|
|
449
449
|
}, {
|
|
@@ -466,7 +466,7 @@ const snippets$p = [{
|
|
|
466
466
|
name: "Vertically centered",
|
|
467
467
|
code: '<Inline space="small" alignY="center">\n <Placeholder width={48} height={40} />\n <Placeholder width={48} height={100} />\n <Placeholder width={48} height={60} />\n </Inline>'
|
|
468
468
|
}];
|
|
469
|
-
const snippets$
|
|
469
|
+
const snippets$p = [{
|
|
470
470
|
name: "XSmall Space",
|
|
471
471
|
code: '<List space="xsmall">\n <Text>Text</Text>\n <Text>Text</Text>\n <Text>Text</Text>\n </List>'
|
|
472
472
|
}, {
|
|
@@ -491,11 +491,11 @@ const snippets$o = [{
|
|
|
491
491
|
name: "Icon",
|
|
492
492
|
code: '<List space="medium" type="icon" icon={<IconTick tone="positive" />}>\n <Text>Text</Text>\n <Text>Text</Text>\n <Text>Text</Text>\n </List>'
|
|
493
493
|
}];
|
|
494
|
-
const snippets$
|
|
494
|
+
const snippets$o = [{
|
|
495
495
|
name: "Standard",
|
|
496
496
|
code: "<Loader />"
|
|
497
497
|
}];
|
|
498
|
-
const snippets$
|
|
498
|
+
const snippets$n = [{
|
|
499
499
|
name: "Standard",
|
|
500
500
|
code: '<MonthPicker label="Month" />'
|
|
501
501
|
}, {
|
|
@@ -517,7 +517,7 @@ const snippets$m = [{
|
|
|
517
517
|
name: "With custom months and years",
|
|
518
518
|
code: `<MonthPicker label="Started" monthLabel="MM" yearLabel="YYYY" monthNames={['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']} />`
|
|
519
519
|
}];
|
|
520
|
-
const snippets$
|
|
520
|
+
const snippets$m = [{
|
|
521
521
|
name: "Critical",
|
|
522
522
|
code: '<Notice tone="critical">\n <Text>Critical Notice</Text>\n </Notice>'
|
|
523
523
|
}, {
|
|
@@ -530,10 +530,17 @@ const snippets$l = [{
|
|
|
530
530
|
name: "Promote",
|
|
531
531
|
code: '<Notice tone="promote">\n <Text>Promote Notice</Text>\n </Notice>'
|
|
532
532
|
}];
|
|
533
|
-
const snippets$
|
|
533
|
+
const snippets$l = [{
|
|
534
534
|
name: "Standard",
|
|
535
535
|
code: '<OverflowMenu label="Options">\n <MenuItem>Option</MenuItem>\n <MenuItem>Option</MenuItem>\n </OverflowMenu>'
|
|
536
536
|
}];
|
|
537
|
+
const snippets$k = [{
|
|
538
|
+
name: "Default",
|
|
539
|
+
code: '<Page footer={<Placeholder label="Footer" height={100} />}>\n <Placeholder label="Header" height={60} />\n </Page>'
|
|
540
|
+
}, {
|
|
541
|
+
name: "Footer below fold",
|
|
542
|
+
code: '<Page footer={<Placeholder label="Footer" height={100} />} footerPosition="belowFold">\n <Placeholder label="Header" height={60} />\n </Page>'
|
|
543
|
+
}];
|
|
537
544
|
const snippets$j = [{
|
|
538
545
|
name: "Medium",
|
|
539
546
|
code: '<PageBlock width="medium">\n <Placeholder height={100} />\n </PageBlock>'
|
|
@@ -813,32 +820,33 @@ const snippets$1 = [{
|
|
|
813
820
|
code: '<TooltipRenderer tooltip={<Text>This is a tooltip!</Text>}>\n {({\n triggerProps\n }) => <Box {...triggerProps}>\n <Placeholder label="Tooltip trigger" height={100} />\n </Box>}\n </TooltipRenderer>'
|
|
814
821
|
}];
|
|
815
822
|
const snippets = Object.entries({
|
|
816
|
-
Accordion: snippets$
|
|
817
|
-
Actions: snippets$
|
|
818
|
-
Alert: snippets$
|
|
819
|
-
Autosuggest: snippets$
|
|
820
|
-
Badge: snippets$
|
|
821
|
-
Bleed: snippets$
|
|
822
|
-
Button: snippets$
|
|
823
|
-
ButtonIcon: snippets$
|
|
824
|
-
Card: snippets$
|
|
825
|
-
Checkbox: snippets$
|
|
826
|
-
Columns: snippets$
|
|
827
|
-
ContentBlock: snippets$
|
|
828
|
-
Dialog: snippets$
|
|
829
|
-
Disclosure: snippets$
|
|
830
|
-
Divider: snippets$
|
|
831
|
-
Drawer: snippets$
|
|
832
|
-
Dropdown: snippets$
|
|
833
|
-
FieldLabel: snippets$
|
|
834
|
-
FieldMessage: snippets$
|
|
835
|
-
Heading: snippets$
|
|
836
|
-
Inline: snippets$
|
|
837
|
-
List: snippets$
|
|
838
|
-
Loader: snippets$
|
|
839
|
-
MonthPicker: snippets$
|
|
840
|
-
Notice: snippets$
|
|
841
|
-
OverflowMenu: snippets$
|
|
823
|
+
Accordion: snippets$K,
|
|
824
|
+
Actions: snippets$J,
|
|
825
|
+
Alert: snippets$I,
|
|
826
|
+
Autosuggest: snippets$H,
|
|
827
|
+
Badge: snippets$G,
|
|
828
|
+
Bleed: snippets$F,
|
|
829
|
+
Button: snippets$E,
|
|
830
|
+
ButtonIcon: snippets$D,
|
|
831
|
+
Card: snippets$C,
|
|
832
|
+
Checkbox: snippets$B,
|
|
833
|
+
Columns: snippets$A,
|
|
834
|
+
ContentBlock: snippets$z,
|
|
835
|
+
Dialog: snippets$y,
|
|
836
|
+
Disclosure: snippets$x,
|
|
837
|
+
Divider: snippets$w,
|
|
838
|
+
Drawer: snippets$v,
|
|
839
|
+
Dropdown: snippets$u,
|
|
840
|
+
FieldLabel: snippets$t,
|
|
841
|
+
FieldMessage: snippets$s,
|
|
842
|
+
Heading: snippets$r,
|
|
843
|
+
Inline: snippets$q,
|
|
844
|
+
List: snippets$p,
|
|
845
|
+
Loader: snippets$o,
|
|
846
|
+
MonthPicker: snippets$n,
|
|
847
|
+
Notice: snippets$m,
|
|
848
|
+
OverflowMenu: snippets$l,
|
|
849
|
+
Page: snippets$k,
|
|
842
850
|
PageBlock: snippets$j,
|
|
843
851
|
Pagination: snippets$i,
|
|
844
852
|
PasswordField: snippets$h,
|
package/dist/reset.d.ts
CHANGED
|
@@ -3506,6 +3506,14 @@ interface Props$1 {
|
|
|
3506
3506
|
}
|
|
3507
3507
|
declare const PageBlock: ({ children, width, component: componentProp, data, ...restProps }: Props$1) => JSX.Element;
|
|
3508
3508
|
|
|
3509
|
+
interface PageProps {
|
|
3510
|
+
children: ReactNode;
|
|
3511
|
+
footer: ReactNode;
|
|
3512
|
+
footerPosition?: 'belowFold';
|
|
3513
|
+
data?: DataAttributeMap;
|
|
3514
|
+
}
|
|
3515
|
+
declare const Page: ({ children, footer, footerPosition, data, ...restProps }: PageProps) => JSX.Element;
|
|
3516
|
+
|
|
3509
3517
|
interface PaginationProps {
|
|
3510
3518
|
page: number;
|
|
3511
3519
|
total: number;
|
|
@@ -5265,4 +5273,4 @@ declare const _default: {
|
|
|
5265
5273
|
code: string;
|
|
5266
5274
|
}[];
|
|
5267
5275
|
|
|
5268
|
-
export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, Box, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Breakpoint, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, LinkComponent, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu$1 as OverflowMenu, OverflowMenu as OverflowMenu$1, PageBlock, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, PublicBox, Radio$1 as Radio, Radio as Radio$1, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider$1 as TabsProvider, TabsProvider as TabsProvider$1, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer$1 as TooltipRenderer, TooltipRenderer as TooltipRenderer$1, _default$1 as _default, _default as _default$1, _default$6 as _default$2, _default$2 as _default$3, _default$4, _default$5, _default$3 as _default$6, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, responsiveStyle, useBreakpoint, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
|
|
5276
|
+
export { Accordion$1 as Accordion, Accordion as Accordion$1, AccordionItem$1 as AccordionItem, AccordionItem as AccordionItem$1, Actions, Alert$1 as Alert, Alert as Alert$1, Autosuggest$1 as Autosuggest, Autosuggest as Autosuggest$1, Badge$1 as Badge, Badge as Badge$1, Bleed$1 as Bleed, Bleed as Bleed$1, Box, BoxRenderer, BraidPortal, BraidProvider, BraidTestProvider, Breakpoint, Button$1 as Button, Button as Button$1, ButtonIcon$1 as ButtonIcon, ButtonIcon as ButtonIcon$1, ButtonLink$1 as ButtonLink, ButtonLink as ButtonLink$1, Card$1 as Card, Card as Card$1, Checkbox$1 as Checkbox, Checkbox as Checkbox$1, CheckboxStandalone$1 as CheckboxStandalone, CheckboxStandalone as CheckboxStandalone$1, Column, Columns$1 as Columns, Columns as Columns$1, ContentBlock, Dialog$1 as Dialog, Dialog as Dialog$1, Disclosure$1 as Disclosure, Disclosure as Disclosure$1, Divider, Drawer$1 as Drawer, Drawer as Drawer$1, Dropdown$1 as Dropdown, Dropdown as Dropdown$1, FieldLabel$1 as FieldLabel, FieldLabel as FieldLabel$1, FieldMessage$1 as FieldMessage, FieldMessage as FieldMessage$1, Heading$1 as Heading, Heading as Heading$1, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconEnlarge, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMessage, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline$1 as Inline, Inline as Inline$1, Link$1 as Link, Link as Link$1, LinkComponent, List$1 as List, List as List$1, Loader, MenuItem$1 as MenuItem, MenuItem as MenuItem$1, MenuItemCheckbox$1 as MenuItemCheckbox, MenuItemCheckbox as MenuItemCheckbox$1, MenuItemDivider, MenuItemLink$1 as MenuItemLink, MenuItemLink as MenuItemLink$1, MenuRenderer, MonthPicker$1 as MonthPicker, MonthPicker as MonthPicker$1, Notice$1 as Notice, Notice as Notice$1, OverflowMenu$1 as OverflowMenu, OverflowMenu as OverflowMenu$1, Page, PageBlock, Pagination$1 as Pagination, Pagination as Pagination$1, PasswordField$1 as PasswordField, PasswordField as PasswordField$1, Placeholder, PublicBox, Radio$1 as Radio, Radio as Radio$1, RadioGroup$1 as RadioGroup, RadioGroup as RadioGroup$1, RadioItem, Rating$1 as Rating, Rating as Rating$1, Secondary, Stack$1 as Stack, Stack as Stack$1, Step$1 as Step, Stepper, Strong, Tab$1 as Tab, Tab as Tab$1, TabPanel, TabPanels, Tabs$1 as Tabs, Tabs as Tabs$1, TabsProvider$1 as TabsProvider, TabsProvider as TabsProvider$1, Tag$1 as Tag, Tag as Tag$1, Text, TextDropdown$1 as TextDropdown, TextDropdown as TextDropdown$1, TextField$1 as TextField, TextField as TextField$1, TextLink, TextLinkButton, Textarea$1 as Textarea, Textarea as Textarea$1, ThemeNameConsumer, Tiles$1 as Tiles, Tiles as Tiles$1, ToastProvider, Toggle$1 as Toggle, Toggle as Toggle$1, TooltipRenderer$1 as TooltipRenderer, TooltipRenderer as TooltipRenderer$1, _default$1 as _default, _default as _default$1, _default$6 as _default$2, _default$2 as _default$3, _default$4, _default$5, _default$3 as _default$6, atoms, breakpoints, colorModeStyle, filterSuggestions, globalHeadingStyle, globalTextStyle, makeLinkComponent, responsiveStyle, useBreakpoint, useColor, useResponsiveValue, useScope, useSpace, useThemeName, useToast, vars };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const fileScope = require("@vanilla-extract/css/fileScope");
|
|
3
|
+
const css = require("@vanilla-extract/css");
|
|
4
|
+
fileScope.setFileScope("src/lib/components/Page/Page.css.ts?used", "braid-design-system");
|
|
5
|
+
const heightLimit = css.createVar("heightLimit");
|
|
6
|
+
const fullHeight = css.style({
|
|
7
|
+
minHeight: css.fallbackVar(heightLimit, "100vh")
|
|
8
|
+
}, "fullHeight");
|
|
9
|
+
fileScope.endFileScope();
|
|
10
|
+
exports.fullHeight = fullHeight;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
|
|
2
|
+
import { createVar, style, fallbackVar } from "@vanilla-extract/css";
|
|
3
|
+
setFileScope("src/lib/components/Page/Page.css.ts?used", "braid-design-system");
|
|
4
|
+
const heightLimit = createVar("heightLimit");
|
|
5
|
+
const fullHeight = style({
|
|
6
|
+
minHeight: fallbackVar(heightLimit, "100vh")
|
|
7
|
+
}, "fullHeight");
|
|
8
|
+
endFileScope();
|
|
9
|
+
export {
|
|
10
|
+
fullHeight
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "braid-design-system",
|
|
3
|
-
"version": "32.
|
|
3
|
+
"version": "32.9.0",
|
|
4
4
|
"description": "Themeable design system for the SEEK Group",
|
|
5
5
|
"homepage": "https://seek-oss.github.io/braid-design-system/",
|
|
6
6
|
"bugs": {
|
|
@@ -158,10 +158,10 @@
|
|
|
158
158
|
"@svgr/core": "^5.5.0",
|
|
159
159
|
"@svgr/plugin-jsx": "^5.5.0",
|
|
160
160
|
"@svgr/plugin-prettier": "^5.5.0",
|
|
161
|
-
"@testing-library/dom": "^
|
|
162
|
-
"@testing-library/jest-dom": "^
|
|
163
|
-
"@testing-library/react": "^
|
|
164
|
-
"@testing-library/user-event": "^14.
|
|
161
|
+
"@testing-library/dom": "^9.3.1",
|
|
162
|
+
"@testing-library/jest-dom": "^6.0.0",
|
|
163
|
+
"@testing-library/react": "^14.0.0",
|
|
164
|
+
"@testing-library/user-event": "^14.4.3",
|
|
165
165
|
"@types/babel-plugin-macros": "^2.8.5",
|
|
166
166
|
"@types/babel-plugin-tester": "^9.0.5",
|
|
167
167
|
"@types/babel__core": "^7.18.0",
|
|
@@ -183,13 +183,13 @@
|
|
|
183
183
|
"fast-glob": "^3.2.12",
|
|
184
184
|
"fs-extra": "^10.1.0",
|
|
185
185
|
"html-validate": "^7.1.1",
|
|
186
|
-
"playroom": "0.
|
|
186
|
+
"playroom": "0.31.0",
|
|
187
187
|
"prettier": "^2.8.2",
|
|
188
188
|
"react": "^18.2.0",
|
|
189
189
|
"react-dom": "^18.2.0",
|
|
190
190
|
"react-router-dom": "^6.3.0",
|
|
191
191
|
"sanitize-html": "^2.7.0",
|
|
192
|
-
"sku": "12.
|
|
192
|
+
"sku": "12.2.0",
|
|
193
193
|
"svgo": "^2.8.0",
|
|
194
194
|
"title-case": "^3.0.3"
|
|
195
195
|
},
|