@fattureincloud/fic-design-system 0.10.0 → 0.10.2-tmp

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. package/dist/assets/index-7ee742e8.css +154 -0
  2. package/dist/assets/index-9fc4893a.css +155 -0
  3. package/dist/assets/index.esm-bff8cd71.css +155 -0
  4. package/dist/assets/index.esm-c9d742c9.css +154 -0
  5. package/dist/components/carousel/Carousel.d.ts +4 -0
  6. package/dist/components/carousel/carousel.stories.d.ts +6 -0
  7. package/dist/components/carousel/components/carouselMainMedia/CarouselMainMedia.d.ts +7 -0
  8. package/dist/components/carousel/components/carouselMainMedia/styled.d.ts +4 -0
  9. package/dist/components/carousel/components/carouselThumbnails/CarouselThumbnails.d.ts +8 -0
  10. package/dist/components/carousel/components/carouselThumbnails/components/carouselThumbnail/CarouselThumbnail.d.ts +8 -0
  11. package/dist/components/carousel/components/carouselThumbnails/components/carouselThumbnail/styled.d.ts +5 -0
  12. package/dist/components/carousel/components/carouselThumbnails/styled.d.ts +7 -0
  13. package/dist/components/carousel/components/carouselThumbnails/utils.d.ts +2 -0
  14. package/dist/components/carousel/components/common/media/Media.d.ts +8 -0
  15. package/dist/components/carousel/components/common/media/utils.d.ts +1 -0
  16. package/dist/components/carousel/components/common/styled.d.ts +2 -0
  17. package/dist/components/carousel/components/fullscreenMedia/FullscreenMedia.d.ts +8 -0
  18. package/dist/components/carousel/components/fullscreenMedia/styled.d.ts +9 -0
  19. package/dist/components/carousel/index.d.ts +2 -0
  20. package/dist/components/carousel/styled.d.ts +1 -0
  21. package/dist/components/carousel/types.d.ts +3 -0
  22. package/dist/components/dropdown/DropdownImpl.d.ts +1 -1
  23. package/dist/components/dropdown/dropdown.stories.d.ts +1 -0
  24. package/dist/components/dropdown/styled.d.ts +4 -0
  25. package/dist/components/dropdown/types.d.ts +2 -0
  26. package/dist/components/newTable/Table.d.ts +3 -1
  27. package/dist/components/newTable/components/body/Body.d.ts +3 -2
  28. package/dist/components/newTable/components/cell/Cell.d.ts +3 -1
  29. package/dist/components/newTable/components/cell/customCell/CustomCell.d.ts +3 -1
  30. package/dist/components/newTable/components/cell/styled.d.ts +2 -0
  31. package/dist/components/newTable/components/header/Header.d.ts +3 -1
  32. package/dist/components/newTable/components/header/headerCell/HeaderCell.d.ts +3 -1
  33. package/dist/components/newTable/components/header/headerCell/styled.d.ts +3 -0
  34. package/dist/components/newTable/components/row/Row.d.ts +3 -1
  35. package/dist/components/newTable/styled.d.ts +1 -0
  36. package/dist/components/newTable/types.d.ts +2 -1
  37. package/dist/index.css +130 -104
  38. package/dist/index.d.ts +1 -0
  39. package/dist/index.esm.js +9 -9
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/index.js +9 -9
  42. package/dist/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/dist/components/banner/utils.d.ts +0 -8
  45. package/dist/components/chips/chips.d.ts +0 -7
  46. package/dist/components/chips/chips.stories.d.ts +0 -6
  47. package/dist/components/chips/components/styledChipWrapper.d.ts +0 -4
  48. package/dist/components/chips/index.d.ts +0 -2
  49. package/dist/components/chips/types.d.ts +0 -11
  50. package/dist/components/drawer/types.d.ts +0 -14
  51. package/dist/components/form/checkbox/components/Input.d.ts +0 -9
  52. package/dist/components/form/checkbox/components/Label.d.ts +0 -8
  53. package/dist/components/form/datepicker/StyledDatePicker.d.ts +0 -1
  54. package/dist/components/form/datepicker/hooks/useDatePickerValues.d.ts +0 -13
  55. package/dist/components/form/inputText/components/codeInput/CodeInput.d.ts +0 -4
  56. package/dist/components/form/inputText/components/codeInput/styled.d.ts +0 -29
  57. package/dist/components/form/inputText/components/codeInput/useCodeInputHooks.d.ts +0 -11
  58. package/dist/components/form/inputText/components/telephoneInput/TelephoneInput.d.ts +0 -4
  59. package/dist/components/form/inputText/components/telephoneInput/countriesTelephonePrefixes.d.ts +0 -7
  60. package/dist/components/form/inputText/components/telephoneInput/styled.d.ts +0 -2
  61. package/dist/components/form/select/components/Placeholder.d.ts +0 -4
  62. package/dist/components/gridCard/GridCard.d.ts +0 -4
  63. package/dist/components/gridCard/gridCard.stories.d.ts +0 -8
  64. package/dist/components/gridCard/index.d.ts +0 -2
  65. package/dist/components/gridCard/stories/data.d.ts +0 -3
  66. package/dist/components/gridCard/styled.d.ts +0 -15
  67. package/dist/components/gridCard/types.d.ts +0 -16
  68. package/dist/components/gridCard/utils.d.ts +0 -2
  69. package/dist/components/groupRadioButton/index.d.ts +0 -23
  70. package/dist/components/groupRadioButton/radio-group.stories.d.ts +0 -6
  71. package/dist/components/inlineMessages/components/styledInlineMessageWrapper.d.ts +0 -8
  72. package/dist/components/inlineMessages/index.d.ts +0 -2
  73. package/dist/components/inlineMessages/inlineMessages.d.ts +0 -4
  74. package/dist/components/inlineMessages/inlineMessages.stories.d.ts +0 -7
  75. package/dist/components/inlineMessages/types.d.ts +0 -29
  76. package/dist/components/newTable/components/header/styled.d.ts +0 -1
  77. package/dist/components/pagination/paginationStyledWrapper.d.ts +0 -1
  78. package/dist/components/progressbar/components/styledProgressbarWrapper.d.ts +0 -2
  79. package/dist/components/radioButton/components/label.d.ts +0 -2
  80. package/dist/components/radioButton/components/radio.d.ts +0 -2
  81. package/dist/components/radioButton/index.d.ts +0 -2
  82. package/dist/components/radioButton/radio.stories.d.ts +0 -6
  83. package/dist/components/radioButton/typings/radioButton.d.ts +0 -21
  84. package/dist/components/table/Table.d.ts +0 -57
  85. package/dist/components/table/components/ActionsCell.d.ts +0 -10
  86. package/dist/components/table/components/EmptyState.d.ts +0 -7
  87. package/dist/components/table/components/Pagination.d.ts +0 -8
  88. package/dist/components/table/components/SelectedRowsCount.d.ts +0 -7
  89. package/dist/components/table/components/SortIndicator.d.ts +0 -6
  90. package/dist/components/table/components/TableBody.d.ts +0 -14
  91. package/dist/components/table/components/TableFoot.d.ts +0 -2
  92. package/dist/components/table/components/TableHeader.d.ts +0 -7
  93. package/dist/components/table/components/actions/ActionsCell.d.ts +0 -10
  94. package/dist/components/table/components/actions/DropdownActions.d.ts +0 -10
  95. package/dist/components/table/components/actions/PrimaryAction.d.ts +0 -12
  96. package/dist/components/table/components/checkboxes/Cell.d.ts +0 -5
  97. package/dist/components/table/components/checkboxes/Header.d.ts +0 -5
  98. package/dist/components/table/components/checkboxes/useHeaderCheckboxProps.d.ts +0 -12
  99. package/dist/components/table/components/loadingCell/LoadingCell.d.ts +0 -8
  100. package/dist/components/table/components/pagination/PageButton.d.ts +0 -10
  101. package/dist/components/table/components/pagination/PaginationButtons.d.ts +0 -10
  102. package/dist/components/table/components/pagination/utils.d.ts +0 -14
  103. package/dist/components/table/components/tableBody/TableBody.d.ts +0 -17
  104. package/dist/components/table/components/tableBody/TableBodyLoader.d.ts +0 -7
  105. package/dist/components/table/components/tableBody/TableBodyTr.d.ts +0 -8
  106. package/dist/components/table/components/tableBody/styled.d.ts +0 -3
  107. package/dist/components/table/components/tableHeader/SortIndicator.d.ts +0 -7
  108. package/dist/components/table/components/tableHeader/TableHeader.d.ts +0 -12
  109. package/dist/components/table/components/tableParts/TableTd.d.ts +0 -8
  110. package/dist/components/table/components/tableParts/TableTh.d.ts +0 -4
  111. package/dist/components/table/components/tableParts/styled.d.ts +0 -17
  112. package/dist/components/table/constants.d.ts +0 -2
  113. package/dist/components/table/hooks/useCheckboxesComponents.d.ts +0 -4
  114. package/dist/components/table/hooks/useRowsSelection.d.ts +0 -4
  115. package/dist/components/table/hooks/useTableHooks.d.ts +0 -6
  116. package/dist/components/table/hooks/useTableValues.d.ts +0 -14
  117. package/dist/components/table/index.d.ts +0 -7
  118. package/dist/components/table/stories/columns.d.ts +0 -3
  119. package/dist/components/table/stories/components/CustomPerson.d.ts +0 -7
  120. package/dist/components/table/stories/components/Role.d.ts +0 -8
  121. package/dist/components/table/stories/components/types.d.ts +0 -14
  122. package/dist/components/table/stories/data.d.ts +0 -2
  123. package/dist/components/table/table.stories.d.ts +0 -6
  124. package/dist/components/table/tablePalette.d.ts +0 -33
  125. package/dist/components/table/types.d.ts +0 -28
  126. package/dist/components/table/utils.d.ts +0 -16
  127. package/dist/components/tip/components/styledTip.d.ts +0 -4
  128. package/dist/components/toast/ToastContainer.d.ts +0 -9
  129. package/dist/components/toast/typings/toast.d.ts +0 -34
  130. package/dist/index.esm.css +0 -128
  131. package/dist/styles/defaultPalette/colors/azure.d.ts +0 -2
  132. package/dist/styles/defaultPalette/colors/purple.d.ts +0 -2
  133. /package/dist/components/floatingBadge/{floatingBadge.d.ts → FloatingBadge.d.ts} +0 -0
  134. /package/dist/components/floatingBadge/{withBadge.d.ts → WithBadge.d.ts} +0 -0
  135. /package/dist/components/progressbar/{progressbar.d.ts → ProgressBar.d.ts} +0 -0
  136. /package/dist/components/progressbar/{progressbar.stories.d.ts → progressBar.stories.d.ts} +0 -0
  137. /package/dist/components/tip/{shortcutTip.d.ts → ShortcutTip.d.ts} +0 -0
  138. /package/dist/components/tip/{tip.d.ts → Tip.d.ts} +0 -0
  139. /package/dist/components/toast/{toast.d.ts → Toast.d.ts} +0 -0
  140. /package/dist/components/toast/components/{toastContent.d.ts → ToastContent.d.ts} +0 -0
@@ -0,0 +1,154 @@
1
+ :root {
2
+ --columns-breakpoint-width: 100px; /* default value */
3
+ --table-breakpoint: px100; /* relates to TableBreakpoints enum */
4
+ }
5
+
6
+ .Table-container {
7
+ container-type: inline-size;
8
+ container-name: var(--table-breakpoint);
9
+ }
10
+
11
+ /* width breakpoints corresponds to TableBreakpoints enum */
12
+ @container px100 (width < 100px) {
13
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
14
+ min-width: var(--columns-breakpoint-width);
15
+ max-width: var(--columns-breakpoint-width);
16
+ }
17
+
18
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
19
+ min-width: var(--columns-breakpoint-width);
20
+ max-width: var(--columns-breakpoint-width);
21
+ }
22
+ }
23
+
24
+ @container px200 (width < 200px) {
25
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
26
+ min-width: var(--columns-breakpoint-width);
27
+ max-width: var(--columns-breakpoint-width);
28
+ }
29
+
30
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
31
+ min-width: var(--columns-breakpoint-width);
32
+ max-width: var(--columns-breakpoint-width);
33
+ }
34
+ }
35
+
36
+ @container px300 (width < 300px) {
37
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
38
+ min-width: var(--columns-breakpoint-width);
39
+ max-width: var(--columns-breakpoint-width);
40
+ }
41
+
42
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
43
+ min-width: var(--columns-breakpoint-width);
44
+ max-width: var(--columns-breakpoint-width);
45
+ }
46
+ }
47
+
48
+ @container px400 (width < 400px) {
49
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
50
+ min-width: var(--columns-breakpoint-width);
51
+ max-width: var(--columns-breakpoint-width);
52
+ }
53
+
54
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
55
+ min-width: var(--columns-breakpoint-width);
56
+ max-width: var(--columns-breakpoint-width);
57
+ }
58
+ }
59
+
60
+ @container px500 (width < 500px) {
61
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
62
+ min-width: var(--columns-breakpoint-width);
63
+ max-width: var(--columns-breakpoint-width);
64
+ }
65
+
66
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
67
+ min-width: var(--columns-breakpoint-width);
68
+ max-width: var(--columns-breakpoint-width);
69
+ }
70
+ }
71
+
72
+ @container px600 (width < 600px) {
73
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
74
+ min-width: var(--columns-breakpoint-width);
75
+ max-width: var(--columns-breakpoint-width);
76
+ }
77
+
78
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
79
+ min-width: var(--columns-breakpoint-width);
80
+ max-width: var(--columns-breakpoint-width);
81
+ }
82
+ }
83
+
84
+ @container px700 (width < 700px) {
85
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
86
+ min-width: var(--columns-breakpoint-width);
87
+ max-width: var(--columns-breakpoint-width);
88
+ }
89
+
90
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
91
+ min-width: var(--columns-breakpoint-width);
92
+ max-width: var(--columns-breakpoint-width);
93
+ }
94
+ }
95
+
96
+ @container px800 (width < 800px) {
97
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
98
+ min-width: var(--columns-breakpoint-width);
99
+ max-width: var(--columns-breakpoint-width);
100
+ }
101
+
102
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
103
+ min-width: var(--columns-breakpoint-width);
104
+ max-width: var(--columns-breakpoint-width);
105
+ }
106
+ }
107
+
108
+ @container px900 (width < 900px) {
109
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
110
+ min-width: var(--columns-breakpoint-width);
111
+ max-width: var(--columns-breakpoint-width);
112
+ }
113
+
114
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
115
+ min-width: var(--columns-breakpoint-width);
116
+ max-width: var(--columns-breakpoint-width);
117
+ }
118
+ }
119
+
120
+ @container px1000 (width < 1000px) {
121
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
122
+ min-width: var(--columns-breakpoint-width);
123
+ max-width: var(--columns-breakpoint-width);
124
+ }
125
+
126
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
127
+ min-width: var(--columns-breakpoint-width);
128
+ max-width: var(--columns-breakpoint-width);
129
+ }
130
+ }
131
+
132
+ @container px1100 (width < 1100px) {
133
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
134
+ min-width: var(--columns-breakpoint-width);
135
+ max-width: var(--columns-breakpoint-width);
136
+ }
137
+
138
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
139
+ min-width: var(--columns-breakpoint-width);
140
+ max-width: var(--columns-breakpoint-width);
141
+ }
142
+ }
143
+
144
+ @container px1200 (width < 1200px) {
145
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
146
+ min-width: var(--columns-breakpoint-width);
147
+ max-width: var(--columns-breakpoint-width);
148
+ }
149
+
150
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
151
+ min-width: var(--columns-breakpoint-width);
152
+ max-width: var(--columns-breakpoint-width);
153
+ }
154
+ }
@@ -0,0 +1,155 @@
1
+ :root {
2
+ --columns-breakpoint-width: 100px; /* default value */
3
+ --table-breakpoint: px100; /* relates to TableBreakpoints enum */
4
+ }
5
+
6
+ .Table-container {
7
+ container-type: inline-size;
8
+ container-name: var(--table-breakpoint);
9
+ background: red;
10
+ }
11
+
12
+ /* width breakpoints corresponds to TableBreakpoints enum */
13
+ @container px100 (width < 100px) {
14
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
15
+ min-width: var(--columns-breakpoint-width);
16
+ max-width: var(--columns-breakpoint-width);
17
+ }
18
+
19
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
20
+ min-width: var(--columns-breakpoint-width);
21
+ max-width: var(--columns-breakpoint-width);
22
+ }
23
+ }
24
+
25
+ @container px200 (width < 200px) {
26
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
27
+ min-width: var(--columns-breakpoint-width);
28
+ max-width: var(--columns-breakpoint-width);
29
+ }
30
+
31
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
32
+ min-width: var(--columns-breakpoint-width);
33
+ max-width: var(--columns-breakpoint-width);
34
+ }
35
+ }
36
+
37
+ @container px300 (width < 300px) {
38
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
39
+ min-width: var(--columns-breakpoint-width);
40
+ max-width: var(--columns-breakpoint-width);
41
+ }
42
+
43
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
44
+ min-width: var(--columns-breakpoint-width);
45
+ max-width: var(--columns-breakpoint-width);
46
+ }
47
+ }
48
+
49
+ @container px400 (width < 400px) {
50
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
51
+ min-width: var(--columns-breakpoint-width);
52
+ max-width: var(--columns-breakpoint-width);
53
+ }
54
+
55
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
56
+ min-width: var(--columns-breakpoint-width);
57
+ max-width: var(--columns-breakpoint-width);
58
+ }
59
+ }
60
+
61
+ @container px500 (width < 500px) {
62
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
63
+ min-width: var(--columns-breakpoint-width);
64
+ max-width: var(--columns-breakpoint-width);
65
+ }
66
+
67
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
68
+ min-width: var(--columns-breakpoint-width);
69
+ max-width: var(--columns-breakpoint-width);
70
+ }
71
+ }
72
+
73
+ @container px600 (width < 600px) {
74
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
75
+ min-width: var(--columns-breakpoint-width);
76
+ max-width: var(--columns-breakpoint-width);
77
+ }
78
+
79
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
80
+ min-width: var(--columns-breakpoint-width);
81
+ max-width: var(--columns-breakpoint-width);
82
+ }
83
+ }
84
+
85
+ @container px700 (width < 700px) {
86
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
87
+ min-width: var(--columns-breakpoint-width);
88
+ max-width: var(--columns-breakpoint-width);
89
+ }
90
+
91
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
92
+ min-width: var(--columns-breakpoint-width);
93
+ max-width: var(--columns-breakpoint-width);
94
+ }
95
+ }
96
+
97
+ @container px800 (width < 800px) {
98
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
99
+ min-width: var(--columns-breakpoint-width);
100
+ max-width: var(--columns-breakpoint-width);
101
+ }
102
+
103
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
104
+ min-width: var(--columns-breakpoint-width);
105
+ max-width: var(--columns-breakpoint-width);
106
+ }
107
+ }
108
+
109
+ @container px900 (width < 900px) {
110
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
111
+ min-width: var(--columns-breakpoint-width);
112
+ max-width: var(--columns-breakpoint-width);
113
+ }
114
+
115
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
116
+ min-width: var(--columns-breakpoint-width);
117
+ max-width: var(--columns-breakpoint-width);
118
+ }
119
+ }
120
+
121
+ @container px1000 (width < 1000px) {
122
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
123
+ min-width: var(--columns-breakpoint-width);
124
+ max-width: var(--columns-breakpoint-width);
125
+ }
126
+
127
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
128
+ min-width: var(--columns-breakpoint-width);
129
+ max-width: var(--columns-breakpoint-width);
130
+ }
131
+ }
132
+
133
+ @container px1100 (width < 1100px) {
134
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
135
+ min-width: var(--columns-breakpoint-width);
136
+ max-width: var(--columns-breakpoint-width);
137
+ }
138
+
139
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
140
+ min-width: var(--columns-breakpoint-width);
141
+ max-width: var(--columns-breakpoint-width);
142
+ }
143
+ }
144
+
145
+ @container px1200 (width < 1200px) {
146
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
147
+ min-width: var(--columns-breakpoint-width);
148
+ max-width: var(--columns-breakpoint-width);
149
+ }
150
+
151
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
152
+ min-width: var(--columns-breakpoint-width);
153
+ max-width: var(--columns-breakpoint-width);
154
+ }
155
+ }
@@ -0,0 +1,155 @@
1
+ :root {
2
+ --columns-breakpoint-width: 100px; /* default value */
3
+ --table-breakpoint: px100; /* relates to TableBreakpoints enum */
4
+ }
5
+
6
+ .Table-container {
7
+ container-type: inline-size;
8
+ container-name: var(--table-breakpoint);
9
+ background: red;
10
+ }
11
+
12
+ /* width breakpoints corresponds to TableBreakpoints enum */
13
+ @container px100 (width < 100px) {
14
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
15
+ min-width: var(--columns-breakpoint-width);
16
+ max-width: var(--columns-breakpoint-width);
17
+ }
18
+
19
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
20
+ min-width: var(--columns-breakpoint-width);
21
+ max-width: var(--columns-breakpoint-width);
22
+ }
23
+ }
24
+
25
+ @container px200 (width < 200px) {
26
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
27
+ min-width: var(--columns-breakpoint-width);
28
+ max-width: var(--columns-breakpoint-width);
29
+ }
30
+
31
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
32
+ min-width: var(--columns-breakpoint-width);
33
+ max-width: var(--columns-breakpoint-width);
34
+ }
35
+ }
36
+
37
+ @container px300 (width < 300px) {
38
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
39
+ min-width: var(--columns-breakpoint-width);
40
+ max-width: var(--columns-breakpoint-width);
41
+ }
42
+
43
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
44
+ min-width: var(--columns-breakpoint-width);
45
+ max-width: var(--columns-breakpoint-width);
46
+ }
47
+ }
48
+
49
+ @container px400 (width < 400px) {
50
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
51
+ min-width: var(--columns-breakpoint-width);
52
+ max-width: var(--columns-breakpoint-width);
53
+ }
54
+
55
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
56
+ min-width: var(--columns-breakpoint-width);
57
+ max-width: var(--columns-breakpoint-width);
58
+ }
59
+ }
60
+
61
+ @container px500 (width < 500px) {
62
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
63
+ min-width: var(--columns-breakpoint-width);
64
+ max-width: var(--columns-breakpoint-width);
65
+ }
66
+
67
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
68
+ min-width: var(--columns-breakpoint-width);
69
+ max-width: var(--columns-breakpoint-width);
70
+ }
71
+ }
72
+
73
+ @container px600 (width < 600px) {
74
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
75
+ min-width: var(--columns-breakpoint-width);
76
+ max-width: var(--columns-breakpoint-width);
77
+ }
78
+
79
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
80
+ min-width: var(--columns-breakpoint-width);
81
+ max-width: var(--columns-breakpoint-width);
82
+ }
83
+ }
84
+
85
+ @container px700 (width < 700px) {
86
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
87
+ min-width: var(--columns-breakpoint-width);
88
+ max-width: var(--columns-breakpoint-width);
89
+ }
90
+
91
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
92
+ min-width: var(--columns-breakpoint-width);
93
+ max-width: var(--columns-breakpoint-width);
94
+ }
95
+ }
96
+
97
+ @container px800 (width < 800px) {
98
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
99
+ min-width: var(--columns-breakpoint-width);
100
+ max-width: var(--columns-breakpoint-width);
101
+ }
102
+
103
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
104
+ min-width: var(--columns-breakpoint-width);
105
+ max-width: var(--columns-breakpoint-width);
106
+ }
107
+ }
108
+
109
+ @container px900 (width < 900px) {
110
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
111
+ min-width: var(--columns-breakpoint-width);
112
+ max-width: var(--columns-breakpoint-width);
113
+ }
114
+
115
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
116
+ min-width: var(--columns-breakpoint-width);
117
+ max-width: var(--columns-breakpoint-width);
118
+ }
119
+ }
120
+
121
+ @container px1000 (width < 1000px) {
122
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
123
+ min-width: var(--columns-breakpoint-width);
124
+ max-width: var(--columns-breakpoint-width);
125
+ }
126
+
127
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
128
+ min-width: var(--columns-breakpoint-width);
129
+ max-width: var(--columns-breakpoint-width);
130
+ }
131
+ }
132
+
133
+ @container px1100 (width < 1100px) {
134
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
135
+ min-width: var(--columns-breakpoint-width);
136
+ max-width: var(--columns-breakpoint-width);
137
+ }
138
+
139
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
140
+ min-width: var(--columns-breakpoint-width);
141
+ max-width: var(--columns-breakpoint-width);
142
+ }
143
+ }
144
+
145
+ @container px1200 (width < 1200px) {
146
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
147
+ min-width: var(--columns-breakpoint-width);
148
+ max-width: var(--columns-breakpoint-width);
149
+ }
150
+
151
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
152
+ min-width: var(--columns-breakpoint-width);
153
+ max-width: var(--columns-breakpoint-width);
154
+ }
155
+ }
@@ -0,0 +1,154 @@
1
+ :root {
2
+ --columns-breakpoint-width: 100px; /* default value */
3
+ --table-breakpoint: px100; /* relates to TableBreakpoints enum */
4
+ }
5
+
6
+ .Table-container {
7
+ container-type: inline-size;
8
+ container-name: var(--table-breakpoint);
9
+ }
10
+
11
+ /* width breakpoints corresponds to TableBreakpoints enum */
12
+ @container px100 (width < 100px) {
13
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
14
+ min-width: var(--columns-breakpoint-width);
15
+ max-width: var(--columns-breakpoint-width);
16
+ }
17
+
18
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
19
+ min-width: var(--columns-breakpoint-width);
20
+ max-width: var(--columns-breakpoint-width);
21
+ }
22
+ }
23
+
24
+ @container px200 (width < 200px) {
25
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
26
+ min-width: var(--columns-breakpoint-width);
27
+ max-width: var(--columns-breakpoint-width);
28
+ }
29
+
30
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
31
+ min-width: var(--columns-breakpoint-width);
32
+ max-width: var(--columns-breakpoint-width);
33
+ }
34
+ }
35
+
36
+ @container px300 (width < 300px) {
37
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
38
+ min-width: var(--columns-breakpoint-width);
39
+ max-width: var(--columns-breakpoint-width);
40
+ }
41
+
42
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
43
+ min-width: var(--columns-breakpoint-width);
44
+ max-width: var(--columns-breakpoint-width);
45
+ }
46
+ }
47
+
48
+ @container px400 (width < 400px) {
49
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
50
+ min-width: var(--columns-breakpoint-width);
51
+ max-width: var(--columns-breakpoint-width);
52
+ }
53
+
54
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
55
+ min-width: var(--columns-breakpoint-width);
56
+ max-width: var(--columns-breakpoint-width);
57
+ }
58
+ }
59
+
60
+ @container px500 (width < 500px) {
61
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
62
+ min-width: var(--columns-breakpoint-width);
63
+ max-width: var(--columns-breakpoint-width);
64
+ }
65
+
66
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
67
+ min-width: var(--columns-breakpoint-width);
68
+ max-width: var(--columns-breakpoint-width);
69
+ }
70
+ }
71
+
72
+ @container px600 (width < 600px) {
73
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
74
+ min-width: var(--columns-breakpoint-width);
75
+ max-width: var(--columns-breakpoint-width);
76
+ }
77
+
78
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
79
+ min-width: var(--columns-breakpoint-width);
80
+ max-width: var(--columns-breakpoint-width);
81
+ }
82
+ }
83
+
84
+ @container px700 (width < 700px) {
85
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
86
+ min-width: var(--columns-breakpoint-width);
87
+ max-width: var(--columns-breakpoint-width);
88
+ }
89
+
90
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
91
+ min-width: var(--columns-breakpoint-width);
92
+ max-width: var(--columns-breakpoint-width);
93
+ }
94
+ }
95
+
96
+ @container px800 (width < 800px) {
97
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
98
+ min-width: var(--columns-breakpoint-width);
99
+ max-width: var(--columns-breakpoint-width);
100
+ }
101
+
102
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
103
+ min-width: var(--columns-breakpoint-width);
104
+ max-width: var(--columns-breakpoint-width);
105
+ }
106
+ }
107
+
108
+ @container px900 (width < 900px) {
109
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
110
+ min-width: var(--columns-breakpoint-width);
111
+ max-width: var(--columns-breakpoint-width);
112
+ }
113
+
114
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
115
+ min-width: var(--columns-breakpoint-width);
116
+ max-width: var(--columns-breakpoint-width);
117
+ }
118
+ }
119
+
120
+ @container px1000 (width < 1000px) {
121
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
122
+ min-width: var(--columns-breakpoint-width);
123
+ max-width: var(--columns-breakpoint-width);
124
+ }
125
+
126
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
127
+ min-width: var(--columns-breakpoint-width);
128
+ max-width: var(--columns-breakpoint-width);
129
+ }
130
+ }
131
+
132
+ @container px1100 (width < 1100px) {
133
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
134
+ min-width: var(--columns-breakpoint-width);
135
+ max-width: var(--columns-breakpoint-width);
136
+ }
137
+
138
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
139
+ min-width: var(--columns-breakpoint-width);
140
+ max-width: var(--columns-breakpoint-width);
141
+ }
142
+ }
143
+
144
+ @container px1200 (width < 1200px) {
145
+ .DS-rt-th:not(.DS-header-tour-checkbox, .DS-header-row-actions) {
146
+ min-width: var(--columns-breakpoint-width);
147
+ max-width: var(--columns-breakpoint-width);
148
+ }
149
+
150
+ .DS-rt-td:not(.DS-tour-checkbox, .DS-row-actions) {
151
+ min-width: var(--columns-breakpoint-width);
152
+ max-width: var(--columns-breakpoint-width);
153
+ }
154
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CarouselProps } from './types';
3
+ declare const Carousel: ({ media }: CarouselProps) => JSX.Element;
4
+ export default Carousel;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { Meta } from '@storybook/react';
3
+ import { CarouselProps } from './types';
4
+ export declare const Default: () => JSX.Element;
5
+ declare const CarouselStories: Meta<CarouselProps>;
6
+ export default CarouselStories;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ src: string;
4
+ openFullscreen: () => void;
5
+ }
6
+ declare const CarouselMainMedia: ({ src, openFullscreen }: Props) => JSX.Element;
7
+ export default CarouselMainMedia;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Image: import("styled-components").StyledComponent<({ src, className, showVideoControls }: import("../common/media/Media").MediaProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const FullScreenButton: import("styled-components").StyledComponent<({ className, color, icon, isDisabled, onClick, type }: import("../../../buttons").IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ media: string[];
4
+ selectedMedia: number;
5
+ setSelectedMedia: (position: number) => void;
6
+ }
7
+ declare const CarouselThumbnails: ({ media, selectedMedia, setSelectedMedia }: Props) => JSX.Element;
8
+ export default CarouselThumbnails;
@@ -0,0 +1,8 @@
1
+ import React, { MouseEventHandler } from 'react';
2
+ interface Props {
3
+ src: string;
4
+ isSelected: boolean;
5
+ onClick: MouseEventHandler;
6
+ }
7
+ declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLLIElement>>;
8
+ export default _default;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Wrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const Image: import("styled-components").StyledComponent<({ src, className, showVideoControls }: import("../../../common/media/Media").MediaProps) => JSX.Element, import("styled-components").DefaultTheme, {
4
+ isSelected: boolean;
5
+ }, never>;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const CarouselThumbnailsWrapper: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {
4
+ mediaCount: number;
5
+ }, never>;
6
+ export declare const RightArrowButton: import("styled-components").StyledComponent<({ className, color, icon, isDisabled, onClick, type }: import("../../../buttons").IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const LeftArrowButton: import("styled-components").StyledComponent<({ className, color, icon, isDisabled, onClick, type }: import("../../../buttons").IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,2 @@
1
+ export declare const calculateNewPosition: (actualPosition: number, mediaCount: number, direction: 'back' | 'forward') => number;
2
+ export declare const navigateToThumbnail: (newPosition: number, refs: React.MutableRefObject<(HTMLLIElement | null)[]>) => void;