@ptbdynamic/plinth 0.1.1 → 0.2.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.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/packages/css/dist/menu.css +245 -0
  4. package/packages/css/dist/page-header.css +124 -0
  5. package/packages/css/dist/plinth.css +833 -160
  6. package/packages/css/dist/section-menu.css +6 -5
  7. package/packages/css/dist/text-field.css +230 -0
  8. package/packages/css/dist/textarea.css +169 -0
  9. package/packages/css/dist/tokens.css +9 -1
  10. package/packages/react/dist/PlinthMenu.d.ts +12 -0
  11. package/packages/react/dist/PlinthMenuGroup.d.ts +9 -0
  12. package/packages/react/dist/PlinthMenuItem.d.ts +26 -0
  13. package/packages/react/dist/PlinthMenuSeparator.d.ts +4 -0
  14. package/packages/react/dist/PlinthPageHeader.d.ts +17 -0
  15. package/packages/react/dist/PlinthTextField.d.ts +24 -0
  16. package/packages/react/dist/PlinthTextarea.d.ts +24 -0
  17. package/packages/react/dist/index.d.ts +10 -1
  18. package/packages/react/dist/index.js +565 -366
  19. package/packages/react/dist/menu.d.ts +7 -0
  20. package/packages/react/dist/page-header.d.ts +5 -0
  21. package/packages/react/dist/text-field.d.ts +10 -0
  22. package/packages/tokens/dist/index.d.ts +13 -1
  23. package/packages/tokens/dist/index.js +131 -6
  24. package/packages/tokens/dist/tailwind-theme.css +2 -2
  25. package/packages/tokens/dist/tokens.css +9 -1
  26. package/packages/tokens/dist/tokens.json +116 -3
  27. package/packages/vue/dist/PlinthMenu.vue.d.ts +24 -0
  28. package/packages/vue/dist/{PlinthHeader.vue.d.ts → PlinthMenuGroup.vue.d.ts} +5 -7
  29. package/packages/vue/dist/PlinthMenuItem.vue.d.ts +34 -0
  30. package/packages/vue/dist/PlinthMenuSeparator.vue.d.ts +3 -0
  31. package/packages/vue/dist/PlinthPageHeader.vue.d.ts +27 -0
  32. package/packages/vue/dist/PlinthTextField.vue.d.ts +51 -0
  33. package/packages/vue/dist/PlinthTextarea.vue.d.ts +42 -0
  34. package/packages/vue/dist/index.d.ts +11 -2
  35. package/packages/vue/dist/index.js +661 -368
  36. package/packages/vue/dist/menu.d.ts +8 -0
  37. package/packages/vue/dist/page-header.d.ts +5 -0
  38. package/packages/vue/dist/text-field.d.ts +10 -0
  39. package/packages/react/dist/PlinthHeader.d.ts +0 -12
@@ -13,18 +13,24 @@ import PlinthDataTableRow from './PlinthDataTableRow.vue';
13
13
  import PlinthDataTableSort from './PlinthDataTableSort.vue';
14
14
  import PlinthDialog from './PlinthDialog.vue';
15
15
  import PlinthDrawer from './PlinthDrawer.vue';
16
- import PlinthHeader from './PlinthHeader.vue';
17
16
  import PlinthIcon from './PlinthIcon.vue';
18
17
  import PlinthIconButton from './PlinthIconButton.vue';
19
18
  import PlinthListCard from './PlinthListCard.vue';
20
19
  import PlinthListRow from './PlinthListRow.vue';
20
+ import PlinthMenu from './PlinthMenu.vue';
21
+ import PlinthMenuGroup from './PlinthMenuGroup.vue';
22
+ import PlinthMenuItem from './PlinthMenuItem.vue';
23
+ import PlinthMenuSeparator from './PlinthMenuSeparator.vue';
21
24
  import PlinthMenuSheet from './PlinthMenuSheet.vue';
25
+ import PlinthPageHeader from './PlinthPageHeader.vue';
22
26
  import PlinthPill from './PlinthPill.vue';
23
27
  import PlinthPillRow from './PlinthPillRow.vue';
24
28
  import PlinthSectionMenu from './PlinthSectionMenu.vue';
25
29
  import PlinthSectionMenuItem from './PlinthSectionMenuItem.vue';
26
30
  import PlinthSheet from './PlinthSheet.vue';
27
- export { PlinthAvatar, PlinthBadge, PlinthButton, PlinthCallout, PlinthCodeBlock, PlinthConfirmDialog, PlinthDataTable, PlinthDataTableCell, PlinthDataTableColumn, PlinthDataTableEmpty, PlinthDataTableRow, PlinthDataTableSort, PlinthDialog, PlinthDrawer, PlinthHeader, PlinthIcon, PlinthIconButton, PlinthListCard, PlinthListRow, PlinthMenuSheet, PlinthPill, PlinthPillRow, PlinthSectionMenu, PlinthSectionMenuItem, PlinthSheet, };
31
+ import PlinthTextarea from './PlinthTextarea.vue';
32
+ import PlinthTextField from './PlinthTextField.vue';
33
+ export { PlinthAvatar, PlinthBadge, PlinthButton, PlinthCallout, PlinthCodeBlock, PlinthConfirmDialog, PlinthDataTable, PlinthDataTableCell, PlinthDataTableColumn, PlinthDataTableEmpty, PlinthDataTableRow, PlinthDataTableSort, PlinthDialog, PlinthDrawer, PlinthIcon, PlinthIconButton, PlinthListCard, PlinthListRow, PlinthMenu, PlinthMenuGroup, PlinthMenuItem, PlinthMenuSeparator, PlinthMenuSheet, PlinthPageHeader, PlinthPill, PlinthPillRow, PlinthSectionMenu, PlinthSectionMenuItem, PlinthSheet, PlinthTextarea, PlinthTextField, };
28
34
  export { avatarGlyph, avatarSizes, initialsFrom, type AvatarSize } from './avatar';
29
35
  export { buttonVariants, type ButtonVariant } from './button';
30
36
  export { calloutIcons, calloutRole, calloutRoles, calloutTone, calloutTones, type CalloutRole, type CalloutTone, } from './callout';
@@ -37,7 +43,10 @@ export { headingLevel, headingLevels, type HeadingLevel } from './heading';
37
43
  export { controlSizes, iconSizeFor, resolveSize, sizes, type ControlSize, type Size } from './size';
38
44
  export { iconSizes, type IconSize } from './icon';
39
45
  export { listRowChevron } from './list-row';
46
+ export { menuIdKey, menuItemTone, menuItemTones, type MenuItemTone } from './menu';
47
+ export { pageHeaderLevel, pageHeaderLevels, type PageHeaderLevel } from './page-header';
40
48
  export { sheetCloseIcon, sheetSide, sheetSidePhone, sheetSides, type SheetSide } from './sheet';
49
+ export { fieldDescribedBy, textFieldSize, textFieldSizes, type TextFieldSize } from './text-field';
41
50
  export { swipeToClose, useSwipeToClose } from './swipe';
42
51
  export { tones, type Tone } from './tones';
43
52
  /** Registers every Plinth component globally: `app.use(Plinth)`. */