@tdm-design/ui 0.0.14 → 0.0.16

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 (47) hide show
  1. package/dist/@tdm-design/ui.js +113056 -0
  2. package/dist/@tdm-design/ui.js.map +1 -0
  3. package/dist/@tdm-design/ui.min.js +369 -0
  4. package/dist/@tdm-design/ui.min.js.LICENSE.txt +129 -0
  5. package/dist/@tdm-design/ui.min.js.map +1 -0
  6. package/dist/reset.css +246 -0
  7. package/dist/tdm-with-locales.js +369 -0
  8. package/dist/tdm-with-locales.js.LICENSE.txt +129 -0
  9. package/dist/tdm-with-locales.js.map +1 -0
  10. package/dist/tdm.css +1 -0
  11. package/es/config-provider/context.d.ts +1 -1
  12. package/es/drawer/style/index.js +5 -1
  13. package/es/index.d.ts +2 -2
  14. package/es/index.js +1 -1
  15. package/es/modal/style/confirm.js +6 -2
  16. package/es/modal/style/index.js +7 -2
  17. package/es/select/Select.d.ts +130 -0
  18. package/es/select/Select.js +333 -0
  19. package/es/select/SingleDisplaySelect.d.ts +5 -0
  20. package/es/select/SingleDisplaySelect.js +153 -0
  21. package/es/select/SortableSelect.d.ts +5 -0
  22. package/es/select/SortableSelect.js +173 -0
  23. package/es/select/index.d.ts +7 -124
  24. package/es/select/index.js +7 -274
  25. package/es/select/style/select-input-multiple.js +4 -1
  26. package/es/version/token.json +1 -1
  27. package/es/version/version.d.ts +1 -1
  28. package/es/version/version.js +1 -1
  29. package/lib/config-provider/context.d.ts +1 -1
  30. package/lib/drawer/style/index.js +5 -1
  31. package/lib/index.d.ts +2 -2
  32. package/lib/index.js +14 -1
  33. package/lib/modal/style/confirm.js +6 -2
  34. package/lib/modal/style/index.js +7 -2
  35. package/lib/select/Select.d.ts +130 -0
  36. package/lib/select/Select.js +340 -0
  37. package/lib/select/SingleDisplaySelect.d.ts +5 -0
  38. package/lib/select/SingleDisplaySelect.js +160 -0
  39. package/lib/select/SortableSelect.d.ts +5 -0
  40. package/lib/select/SortableSelect.js +180 -0
  41. package/lib/select/index.d.ts +7 -124
  42. package/lib/select/index.js +32 -274
  43. package/lib/select/style/select-input-multiple.js +4 -1
  44. package/lib/version/token.json +1 -1
  45. package/lib/version/version.d.ts +1 -1
  46. package/lib/version/version.js +1 -1
  47. package/package.json +11 -4
package/dist/reset.css ADDED
@@ -0,0 +1,246 @@
1
+ /* stylelint-disable */
2
+ html,
3
+ body {
4
+ width: 100%;
5
+ height: 100%;
6
+ }
7
+ input::-ms-clear,
8
+ input::-ms-reveal {
9
+ display: none;
10
+ }
11
+ *,
12
+ *::before,
13
+ *::after {
14
+ box-sizing: border-box;
15
+ }
16
+ html {
17
+ font-family: sans-serif;
18
+ line-height: 1.15;
19
+ -webkit-text-size-adjust: 100%;
20
+ -ms-text-size-adjust: 100%;
21
+ -ms-overflow-style: scrollbar;
22
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
23
+ }
24
+
25
+ body {
26
+ margin: 0;
27
+ }
28
+ [tabindex='-1']:focus {
29
+ outline: none;
30
+ }
31
+ hr {
32
+ box-sizing: content-box;
33
+ height: 0;
34
+ overflow: visible;
35
+ }
36
+ h1,
37
+ h2,
38
+ h3,
39
+ h4,
40
+ h5,
41
+ h6 {
42
+ margin-top: 0;
43
+ margin-bottom: 0.5em;
44
+ font-weight: 500;
45
+ }
46
+ p {
47
+ margin-top: 0;
48
+ margin-bottom: 1em;
49
+ }
50
+ abbr[title],
51
+ abbr[data-original-title] {
52
+ -webkit-text-decoration: underline dotted;
53
+ text-decoration: underline dotted;
54
+ border-bottom: 0;
55
+ cursor: help;
56
+ }
57
+ address {
58
+ margin-bottom: 1em;
59
+ font-style: normal;
60
+ line-height: inherit;
61
+ }
62
+ input[type='text'],
63
+ input[type='password'],
64
+ input[type='number'],
65
+ textarea {
66
+ -webkit-appearance: none;
67
+ }
68
+ ol,
69
+ ul,
70
+ dl {
71
+ margin-top: 0;
72
+ margin-bottom: 1em;
73
+ }
74
+ ol ol,
75
+ ul ul,
76
+ ol ul,
77
+ ul ol {
78
+ margin-bottom: 0;
79
+ }
80
+ dt {
81
+ font-weight: 500;
82
+ }
83
+ dd {
84
+ margin-bottom: 0.5em;
85
+ margin-left: 0;
86
+ }
87
+ blockquote {
88
+ margin: 0 0 1em;
89
+ }
90
+ dfn {
91
+ font-style: italic;
92
+ }
93
+ b,
94
+ strong {
95
+ font-weight: bolder;
96
+ }
97
+ small {
98
+ font-size: 80%;
99
+ }
100
+ sub,
101
+ sup {
102
+ position: relative;
103
+ font-size: 75%;
104
+ line-height: 0;
105
+ vertical-align: baseline;
106
+ }
107
+ sub {
108
+ bottom: -0.25em;
109
+ }
110
+ sup {
111
+ top: -0.5em;
112
+ }
113
+ pre,
114
+ code,
115
+ kbd,
116
+ samp {
117
+ font-size: 1em;
118
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
119
+ }
120
+ pre {
121
+ margin-top: 0;
122
+ margin-bottom: 1em;
123
+ overflow: auto;
124
+ }
125
+ figure {
126
+ margin: 0 0 1em;
127
+ }
128
+ img {
129
+ vertical-align: middle;
130
+ border-style: none;
131
+ }
132
+ a,
133
+ area,
134
+ button,
135
+ [role='button'],
136
+ input:not([type='range']),
137
+ label,
138
+ select,
139
+ summary,
140
+ textarea {
141
+ touch-action: manipulation;
142
+ }
143
+ table {
144
+ border-collapse: collapse;
145
+ }
146
+ caption {
147
+ padding-top: 0.75em;
148
+ padding-bottom: 0.3em;
149
+ text-align: left;
150
+ caption-side: bottom;
151
+ }
152
+ input,
153
+ button,
154
+ select,
155
+ optgroup,
156
+ textarea {
157
+ margin: 0;
158
+ color: inherit;
159
+ font-size: inherit;
160
+ font-family: inherit;
161
+ line-height: inherit;
162
+ }
163
+ button,
164
+ input {
165
+ overflow: visible;
166
+ }
167
+ button,
168
+ select {
169
+ text-transform: none;
170
+ }
171
+ button,
172
+ html [type='button'],
173
+ [type='reset'],
174
+ [type='submit'] {
175
+ -webkit-appearance: button;
176
+ }
177
+ button::-moz-focus-inner,
178
+ [type='button']::-moz-focus-inner,
179
+ [type='reset']::-moz-focus-inner,
180
+ [type='submit']::-moz-focus-inner {
181
+ padding: 0;
182
+ border-style: none;
183
+ }
184
+ input[type='radio'],
185
+ input[type='checkbox'] {
186
+ box-sizing: border-box;
187
+ padding: 0;
188
+ }
189
+ input[type='date'],
190
+ input[type='time'],
191
+ input[type='datetime-local'],
192
+ input[type='month'] {
193
+ -webkit-appearance: listbox;
194
+ }
195
+ textarea {
196
+ overflow: auto;
197
+ resize: vertical;
198
+ }
199
+ fieldset {
200
+ min-width: 0;
201
+ margin: 0;
202
+ padding: 0;
203
+ border: 0;
204
+ }
205
+ legend {
206
+ display: block;
207
+ width: 100%;
208
+ max-width: 100%;
209
+ margin-bottom: 0.5em;
210
+ padding: 0;
211
+ color: inherit;
212
+ font-size: 1.5em;
213
+ line-height: inherit;
214
+ white-space: normal;
215
+ }
216
+ progress {
217
+ vertical-align: baseline;
218
+ }
219
+ [type='number']::-webkit-inner-spin-button,
220
+ [type='number']::-webkit-outer-spin-button {
221
+ height: auto;
222
+ }
223
+ [type='search'] {
224
+ outline-offset: -2px;
225
+ -webkit-appearance: none;
226
+ }
227
+ [type='search']::-webkit-search-cancel-button,
228
+ [type='search']::-webkit-search-decoration {
229
+ -webkit-appearance: none;
230
+ }
231
+ ::-webkit-file-upload-button {
232
+ font: inherit;
233
+ -webkit-appearance: button;
234
+ }
235
+ output {
236
+ display: inline-block;
237
+ }
238
+ summary {
239
+ display: list-item;
240
+ }
241
+ template {
242
+ display: none;
243
+ }
244
+ [hidden] {
245
+ display: none !important;
246
+ }