@epam/uui 5.8.1 → 5.9.0-beta.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 (101) hide show
  1. package/assets/styles/effects.scss +2 -2
  2. package/assets/styles/inputs.scss +0 -4
  3. package/components/buttons/Button.d.ts +3 -6
  4. package/components/buttons/Button.d.ts.map +1 -1
  5. package/components/buttons/IconButton.d.ts +3 -7
  6. package/components/buttons/IconButton.d.ts.map +1 -1
  7. package/components/buttons/LinkButton.d.ts +5 -12
  8. package/components/buttons/LinkButton.d.ts.map +1 -1
  9. package/components/buttons/TabButton.d.ts +3 -12
  10. package/components/buttons/TabButton.d.ts.map +1 -1
  11. package/components/buttons/VerticalTabButton.d.ts +1 -9
  12. package/components/buttons/VerticalTabButton.d.ts.map +1 -1
  13. package/components/datePickers/DatePicker.d.ts.map +1 -1
  14. package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
  15. package/components/datePickers/types.d.ts +17 -9
  16. package/components/datePickers/types.d.ts.map +1 -1
  17. package/components/filters/FilterPickerBody.d.ts.map +1 -1
  18. package/components/filters/FiltersPanel.d.ts +8 -4
  19. package/components/filters/FiltersPanel.d.ts.map +1 -1
  20. package/components/inputs/Checkbox.d.ts +3 -2
  21. package/components/inputs/Checkbox.d.ts.map +1 -1
  22. package/components/inputs/NumericInput.d.ts +3 -2
  23. package/components/inputs/NumericInput.d.ts.map +1 -1
  24. package/components/inputs/RadioInput.d.ts.map +1 -1
  25. package/components/inputs/Switch.d.ts +3 -2
  26. package/components/inputs/Switch.d.ts.map +1 -1
  27. package/components/inputs/TextArea.d.ts +3 -2
  28. package/components/inputs/TextArea.d.ts.map +1 -1
  29. package/components/inputs/timePicker/TimePicker.d.ts +2 -47
  30. package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
  31. package/components/inputs/timePicker/TimePickerBody.d.ts +2 -13
  32. package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
  33. package/components/inputs/timePicker/index.d.ts +1 -0
  34. package/components/inputs/timePicker/index.d.ts.map +1 -1
  35. package/components/inputs/timePicker/types.d.ts +63 -0
  36. package/components/inputs/timePicker/types.d.ts.map +1 -0
  37. package/components/layout/LabeledInput.d.ts +3 -2
  38. package/components/layout/LabeledInput.d.ts.map +1 -1
  39. package/components/overlays/DropdownMenu.d.ts.map +1 -1
  40. package/components/overlays/Modals.d.ts +1 -1
  41. package/components/overlays/Modals.d.ts.map +1 -1
  42. package/components/pickers/DataPickerBody.d.ts +8 -3
  43. package/components/pickers/DataPickerBody.d.ts.map +1 -1
  44. package/components/pickers/DataPickerCell.d.ts +3 -3
  45. package/components/pickers/DataPickerCell.d.ts.map +1 -1
  46. package/components/pickers/DataPickerFooter.d.ts +6 -2
  47. package/components/pickers/DataPickerFooter.d.ts.map +1 -1
  48. package/components/pickers/DataPickerHeader.d.ts.map +1 -1
  49. package/components/pickers/DataPickerRow.d.ts +9 -4
  50. package/components/pickers/DataPickerRow.d.ts.map +1 -1
  51. package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -1
  52. package/components/pickers/PickerInput.d.ts +7 -2
  53. package/components/pickers/PickerInput.d.ts.map +1 -1
  54. package/components/pickers/PickerItem.d.ts +7 -2
  55. package/components/pickers/PickerItem.d.ts.map +1 -1
  56. package/components/pickers/PickerList.d.ts +7 -2
  57. package/components/pickers/PickerList.d.ts.map +1 -1
  58. package/components/pickers/PickerModal.d.ts.map +1 -1
  59. package/components/pickers/PickerToggler.d.ts +2 -0
  60. package/components/pickers/PickerToggler.d.ts.map +1 -1
  61. package/components/pickers/PickerTogglerTag.d.ts +8 -2
  62. package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
  63. package/components/pickers/highlight.d.ts +1 -0
  64. package/components/pickers/highlight.d.ts.map +1 -1
  65. package/components/pickers/types.d.ts +2 -0
  66. package/components/pickers/types.d.ts.map +1 -1
  67. package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
  68. package/components/tables/DataRowsContainer/utils.d.ts.map +1 -1
  69. package/components/tables/DataTableCell.d.ts +1 -1
  70. package/components/tables/DataTableCell.d.ts.map +1 -1
  71. package/components/typography/RichTextView.d.ts +3 -2
  72. package/components/typography/RichTextView.d.ts.map +1 -1
  73. package/components/typography/Text.d.ts.map +1 -1
  74. package/components/widgets/Badge.d.ts +5 -16
  75. package/components/widgets/Badge.d.ts.map +1 -1
  76. package/components/widgets/CountIndicator.d.ts +2 -2
  77. package/components/widgets/CountIndicator.d.ts.map +1 -1
  78. package/components/widgets/DataRowAddons.d.ts.map +1 -1
  79. package/components/widgets/StatusIndicator.d.ts.map +1 -1
  80. package/components/widgets/Tag.d.ts +8 -26
  81. package/components/widgets/Tag.d.ts.map +1 -1
  82. package/helpers/textLayout.d.ts.map +1 -1
  83. package/helpers/useColumnsWithFilters.d.ts +1 -1
  84. package/helpers/useColumnsWithFilters.d.ts.map +1 -1
  85. package/icons/icons.d.ts +1 -0
  86. package/icons/icons.d.ts.map +1 -1
  87. package/index.d.ts +2 -0
  88. package/index.d.ts.map +1 -1
  89. package/index.esm.js +463 -330
  90. package/index.esm.js.map +1 -1
  91. package/index.js +462 -328
  92. package/index.js.map +1 -1
  93. package/package.json +5 -5
  94. package/readme.md +6 -1
  95. package/settings.d.ts +3 -0
  96. package/settings.d.ts.map +1 -0
  97. package/settings.types.d.ts +139 -0
  98. package/settings.types.d.ts.map +1 -0
  99. package/stats.html +1 -19
  100. package/styles.css +3085 -4054
  101. package/styles.css.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/uui",
3
- "version": "5.8.1",
3
+ "version": "5.9.0-beta.0",
4
4
  "description": "EPAM UUI components set",
5
5
  "author": "EPAM",
6
6
  "license": "MIT",
@@ -12,9 +12,9 @@
12
12
  "prepublish": "yarn build"
13
13
  },
14
14
  "dependencies": {
15
- "@epam/assets": "5.8.1",
16
- "@epam/uui-components": "5.8.1",
17
- "@epam/uui-core": "5.8.1",
15
+ "@epam/assets": "5.9.0-beta.0",
16
+ "@epam/uui-components": "5.9.0-beta.0",
17
+ "@epam/uui-core": "5.9.0-beta.0",
18
18
  "@popperjs/core": "2.9.0",
19
19
  "classnames": "2.2.6",
20
20
  "dayjs": "1.10.7",
@@ -30,7 +30,7 @@
30
30
  "type": "git",
31
31
  "url": "https://github.com/epam/UUI"
32
32
  },
33
- "gitHead": "8ea89fe8bfe22175ad40ff21ea3b6ca21613824c",
33
+ "gitHead": "1029efac3bd9a362b5413acc327a7a4bb47577e2",
34
34
  "publishConfig": {
35
35
  "directory": "build"
36
36
  }
package/readme.md CHANGED
@@ -2,4 +2,9 @@
2
2
 
3
3
  This package is a part of [EPAM UUI](https://github.com/epam/UUI) library.
4
4
 
5
- @epam/uui contains the 'UUI' (codename 'UUI') 'skin'. All components branded with this skin are contained in this package.
5
+ `@epam/uui` contains theme agnostic set of UUI components.
6
+
7
+ It's required to connect any theme to your application for components styling.
8
+ You can read more about UUI Themes [here](https://uui.epam.com/documents?id=overview-themes&mode=doc&isSkin=null&category=themes).
9
+
10
+ Full set of components can be found on [UUI site](https://uui.epam.com/documents?category=components&id=accordion&mode=doc).
package/settings.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import type { Settings } from './settings.types';
2
+ export declare const settings: Settings;
3
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,eAAO,MAAM,QAAQ,EAAE,QAiNtB,CAAC"}
@@ -0,0 +1,139 @@
1
+ interface DefaultSizes {
2
+ badge: string;
3
+ button: string;
4
+ checkbox: string;
5
+ countIndicator: string;
6
+ dataPickerCell: string;
7
+ linkButton: string;
8
+ numericInput: string;
9
+ pickerToggler: string;
10
+ pickerItem: string;
11
+ radioInput: string;
12
+ switch: string;
13
+ tabButton: string;
14
+ tag: string;
15
+ text: string;
16
+ textArea: string;
17
+ textInput: string;
18
+ rangeDatePicker: string;
19
+ datePicker: string;
20
+ labeledInput: string;
21
+ statusIndicator: string;
22
+ }
23
+ interface Sizes {
24
+ [size: string | number]: string | number;
25
+ }
26
+ interface DefaultSize {
27
+ default: string | number;
28
+ }
29
+ interface MobileSize {
30
+ mobile: string | number;
31
+ }
32
+ interface ModalSize {
33
+ modal: string | number;
34
+ }
35
+ interface TagSizes {
36
+ countIndicator: Sizes;
37
+ }
38
+ interface MobileDropdownWrapperSizes {
39
+ linkButton: string;
40
+ }
41
+ interface PickerInputRowSizes extends MobileSize, ModalSize {
42
+ padding: ModalSize & DefaultSize;
43
+ }
44
+ interface PickerInputSizes {
45
+ height: number;
46
+ width: number;
47
+ rowSize: PickerInputRowSizes;
48
+ }
49
+ interface PickerTogglerSizes {
50
+ tag: Sizes;
51
+ }
52
+ interface DataPickerHeaderTextSizes {
53
+ fontWeight: string;
54
+ size: string;
55
+ }
56
+ interface DataPickerHeaderSizes {
57
+ text: DataPickerHeaderTextSizes;
58
+ }
59
+ interface DataPickerBodySizes {
60
+ flexCell: DefaultSize;
61
+ searchInput: MobileSize;
62
+ }
63
+ interface PickerItemAvatarSizes {
64
+ rest: Sizes;
65
+ multiline: Sizes;
66
+ }
67
+ interface PickerItemSizes {
68
+ avatar: PickerItemAvatarSizes;
69
+ }
70
+ interface DataPickerCellIsBoldIcon {
71
+ [size: string | number]: boolean;
72
+ }
73
+ interface DataPickerCellSizes {
74
+ isBoldIcon: DataPickerCellIsBoldIcon;
75
+ padding: DefaultSize;
76
+ paddingLeft: DefaultSize;
77
+ text: Sizes;
78
+ icon: Sizes;
79
+ }
80
+ interface DataPickerRowSizes {
81
+ padding: DefaultSize;
82
+ dataPickerCell: DefaultSize;
83
+ }
84
+ interface DataPickerFooterSizes {
85
+ flexRowPadding: string;
86
+ switch: Sizes;
87
+ linkButton: Sizes & MobileSize;
88
+ }
89
+ interface RowAddonsSizes {
90
+ checkbox: Sizes;
91
+ icon: Sizes;
92
+ indentUnit: Sizes & DefaultSize;
93
+ indentWidth: Sizes & DefaultSize;
94
+ }
95
+ interface TextSize {
96
+ lineHeight: string | number;
97
+ fontSize: string | number;
98
+ }
99
+ interface TextSizes {
100
+ [size: string | number]: TextSize;
101
+ }
102
+ interface FilterPickerBodySizes {
103
+ pickerItem: string;
104
+ dataPickerRow: string;
105
+ dataPickerFooter: string;
106
+ searchSize: string;
107
+ }
108
+ interface LabeledInputSizes {
109
+ fillIcon: string[];
110
+ }
111
+ interface BadgeSizes {
112
+ countIndicator: Sizes;
113
+ }
114
+ interface SizesSettings {
115
+ defaults: DefaultSizes;
116
+ tag: TagSizes;
117
+ mobileDropdownWrapper: MobileDropdownWrapperSizes;
118
+ pickerInput: PickerInputSizes;
119
+ pickerToggler: PickerTogglerSizes;
120
+ dataPickerHeader: DataPickerHeaderSizes;
121
+ dataPickerBody: DataPickerBodySizes;
122
+ pickerItem: PickerItemSizes;
123
+ dataPickerCell: DataPickerCellSizes;
124
+ dataPickerRow: DataPickerRowSizes;
125
+ dataPickerFooter: DataPickerFooterSizes;
126
+ rowAddons: RowAddonsSizes;
127
+ text: TextSizes;
128
+ filterPickerBody: FilterPickerBodySizes;
129
+ labeledInput: LabeledInputSizes;
130
+ badge: BadgeSizes;
131
+ }
132
+ export interface Settings {
133
+ /**
134
+ * setting sizes for complex and compound components to support 'Size theming'
135
+ */
136
+ sizes: SizesSettings;
137
+ }
138
+ export {};
139
+ //# sourceMappingURL=settings.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.types.d.ts","sourceRoot":"","sources":["../settings.types.ts"],"names":[],"mappings":"AAAA,UAAU,YAAY;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;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