@vaneui/ui 0.0.8 → 0.0.10

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/dist/all.css ADDED
@@ -0,0 +1,232 @@
1
+ /*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */
2
+ .absolute {
3
+ position: absolute;
4
+ }
5
+ .fixed {
6
+ position: fixed;
7
+ }
8
+ .relative {
9
+ position: relative;
10
+ }
11
+ .static {
12
+ position: static;
13
+ }
14
+ .sticky {
15
+ position: sticky;
16
+ }
17
+ .mx-auto {
18
+ margin-inline: auto;
19
+ }
20
+ .flex {
21
+ display: flex;
22
+ }
23
+ .grid {
24
+ display: grid;
25
+ }
26
+ .h-fit {
27
+ height: fit-content;
28
+ }
29
+ .h-px {
30
+ height: 1px;
31
+ }
32
+ .w-fit {
33
+ width: fit-content;
34
+ }
35
+ .w-full {
36
+ width: 100%;
37
+ }
38
+ .cursor-pointer {
39
+ cursor: pointer;
40
+ }
41
+ .list-inside {
42
+ list-style-position: inside;
43
+ }
44
+ .list-disc {
45
+ list-style-type: disc;
46
+ }
47
+ .grid-cols-3 {
48
+ grid-template-columns: repeat(3, minmax(0, 1fr));
49
+ }
50
+ .grid-cols-4 {
51
+ grid-template-columns: repeat(4, minmax(0, 1fr));
52
+ }
53
+ .flex-col {
54
+ flex-direction: column;
55
+ }
56
+ .flex-col-reverse {
57
+ flex-direction: column-reverse;
58
+ }
59
+ .flex-row {
60
+ flex-direction: row;
61
+ }
62
+ .flex-row-reverse {
63
+ flex-direction: row-reverse;
64
+ }
65
+ .items-center {
66
+ align-items: center;
67
+ }
68
+ .items-start {
69
+ align-items: flex-start;
70
+ }
71
+ .justify-around {
72
+ justify-content: space-around;
73
+ }
74
+ .justify-baseline {
75
+ justify-content: baseline;
76
+ }
77
+ .justify-between {
78
+ justify-content: space-between;
79
+ }
80
+ .justify-center {
81
+ justify-content: center;
82
+ }
83
+ .justify-end {
84
+ justify-content: flex-end;
85
+ }
86
+ .justify-evenly {
87
+ justify-content: space-evenly;
88
+ }
89
+ .justify-start {
90
+ justify-content: flex-start;
91
+ }
92
+ .justify-stretch {
93
+ justify-content: stretch;
94
+ }
95
+ .rounded-full {
96
+ border-radius: calc(infinity * 1px);
97
+ }
98
+ .border {
99
+ border-style: var(--tw-border-style);
100
+ border-width: 1px;
101
+ }
102
+ .text-\(--text-color-accent\) {
103
+ color: var(--text-color-accent);
104
+ }
105
+ .text-\(--text-color-danger\) {
106
+ color: var(--text-color-danger);
107
+ }
108
+ .text-\(--text-color-default\) {
109
+ color: var(--text-color-default);
110
+ }
111
+ .text-\(--text-color-info\) {
112
+ color: var(--text-color-info);
113
+ }
114
+ .text-\(--text-color-link\) {
115
+ color: var(--text-color-link);
116
+ }
117
+ .text-\(--text-color-muted\) {
118
+ color: var(--text-color-muted);
119
+ }
120
+ .text-\(--text-color-primary\) {
121
+ color: var(--text-color-primary);
122
+ }
123
+ .text-\(--text-color-secondary\) {
124
+ color: var(--text-color-secondary);
125
+ }
126
+ .text-\(--text-color-success\) {
127
+ color: var(--text-color-success);
128
+ }
129
+ .text-\(--text-color-tertiary\) {
130
+ color: var(--text-color-tertiary);
131
+ }
132
+ .text-\(--text-color-warning\) {
133
+ color: var(--text-color-warning);
134
+ }
135
+ .capitalize {
136
+ text-transform: capitalize;
137
+ }
138
+ .lowercase {
139
+ text-transform: lowercase;
140
+ }
141
+ .normal-case {
142
+ text-transform: none;
143
+ }
144
+ .uppercase {
145
+ text-transform: uppercase;
146
+ }
147
+ .italic {
148
+ font-style: italic;
149
+ }
150
+ .not-italic {
151
+ font-style: normal;
152
+ }
153
+ .line-through {
154
+ text-decoration-line: line-through;
155
+ }
156
+ .no-underline {
157
+ text-decoration-line: none;
158
+ }
159
+ .overline {
160
+ text-decoration-line: overline;
161
+ }
162
+ .underline {
163
+ text-decoration-line: underline;
164
+ }
165
+ .filter {
166
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
167
+ }
168
+ .transition-all {
169
+ transition-property: all;
170
+ transition-timing-function: var(--tw-ease, ease);
171
+ transition-duration: var(--tw-duration, 0s);
172
+ }
173
+ .duration-300 {
174
+ --tw-duration: 300ms;
175
+ transition-duration: 300ms;
176
+ }
177
+ .hover\:underline {
178
+ &:hover {
179
+ @media (hover: hover) {
180
+ text-decoration-line: underline;
181
+ }
182
+ }
183
+ }
184
+ @property --tw-border-style {
185
+ syntax: "*";
186
+ inherits: false;
187
+ initial-value: solid;
188
+ }
189
+ @property --tw-blur {
190
+ syntax: "*";
191
+ inherits: false;
192
+ }
193
+ @property --tw-brightness {
194
+ syntax: "*";
195
+ inherits: false;
196
+ }
197
+ @property --tw-contrast {
198
+ syntax: "*";
199
+ inherits: false;
200
+ }
201
+ @property --tw-grayscale {
202
+ syntax: "*";
203
+ inherits: false;
204
+ }
205
+ @property --tw-hue-rotate {
206
+ syntax: "*";
207
+ inherits: false;
208
+ }
209
+ @property --tw-invert {
210
+ syntax: "*";
211
+ inherits: false;
212
+ }
213
+ @property --tw-opacity {
214
+ syntax: "*";
215
+ inherits: false;
216
+ }
217
+ @property --tw-saturate {
218
+ syntax: "*";
219
+ inherits: false;
220
+ }
221
+ @property --tw-sepia {
222
+ syntax: "*";
223
+ inherits: false;
224
+ }
225
+ @property --tw-drop-shadow {
226
+ syntax: "*";
227
+ inherits: false;
228
+ }
229
+ @property --tw-duration {
230
+ syntax: "*";
231
+ inherits: false;
232
+ }
package/dist/complex.css CHANGED
@@ -1,188 +1,6 @@
1
1
  /*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */
2
- @layer theme, base, components, utilities;
3
- @layer theme {
4
- :root, :host {
5
- --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
6
- "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
7
- --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
8
- "Courier New", monospace;
9
- --default-font-family: var(--font-sans);
10
- --default-font-feature-settings: var(--font-sans--font-feature-settings);
11
- --default-font-variation-settings: var(
12
- --font-sans--font-variation-settings
13
- );
14
- --default-mono-font-family: var(--font-mono);
15
- --default-mono-font-feature-settings: var(
16
- --font-mono--font-feature-settings
17
- );
18
- --default-mono-font-variation-settings: var(
19
- --font-mono--font-variation-settings
20
- );
21
- }
22
- }
23
- @layer base {
24
- *, ::after, ::before, ::backdrop, ::file-selector-button {
25
- box-sizing: border-box;
26
- margin: 0;
27
- padding: 0;
28
- border: 0 solid;
29
- }
30
- html, :host {
31
- line-height: 1.5;
32
- -webkit-text-size-adjust: 100%;
33
- tab-size: 4;
34
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
35
- font-feature-settings: var(--default-font-feature-settings, normal);
36
- font-variation-settings: var( --default-font-variation-settings, normal );
37
- -webkit-tap-highlight-color: transparent;
38
- }
39
- body {
40
- line-height: inherit;
41
- }
42
- hr {
43
- height: 0;
44
- color: inherit;
45
- border-top-width: 1px;
46
- }
47
- abbr:where([title]) {
48
- -webkit-text-decoration: underline dotted;
49
- text-decoration: underline dotted;
50
- }
51
- h1, h2, h3, h4, h5, h6 {
52
- font-size: inherit;
53
- font-weight: inherit;
54
- }
55
- a {
56
- color: inherit;
57
- -webkit-text-decoration: inherit;
58
- text-decoration: inherit;
59
- }
60
- b, strong {
61
- font-weight: bolder;
62
- }
63
- code, kbd, samp, pre {
64
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
65
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
66
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
67
- font-size: 1em;
68
- }
69
- small {
70
- font-size: 80%;
71
- }
72
- sub, sup {
73
- font-size: 75%;
74
- line-height: 0;
75
- position: relative;
76
- vertical-align: baseline;
77
- }
78
- sub {
79
- bottom: -0.25em;
80
- }
81
- sup {
82
- top: -0.5em;
83
- }
84
- table {
85
- text-indent: 0;
86
- border-color: inherit;
87
- border-collapse: collapse;
88
- }
89
- :-moz-focusring {
90
- outline: auto;
91
- }
92
- progress {
93
- vertical-align: baseline;
94
- }
95
- summary {
96
- display: list-item;
97
- }
98
- ol, ul, menu {
99
- list-style: none;
100
- }
101
- img, svg, video, canvas, audio, iframe, embed, object {
102
- display: block;
103
- vertical-align: middle;
104
- }
105
- img, video {
106
- max-width: 100%;
107
- height: auto;
108
- }
109
- button, input, select, optgroup, textarea, ::file-selector-button {
110
- font: inherit;
111
- font-feature-settings: inherit;
112
- font-variation-settings: inherit;
113
- letter-spacing: inherit;
114
- color: inherit;
115
- border-radius: 0;
116
- background-color: transparent;
117
- opacity: 1;
118
- }
119
- :where(select:is([multiple], [size])) optgroup {
120
- font-weight: bolder;
121
- }
122
- :where(select:is([multiple], [size])) optgroup option {
123
- padding-inline-start: 20px;
124
- }
125
- ::file-selector-button {
126
- margin-inline-end: 4px;
127
- }
128
- ::placeholder {
129
- opacity: 1;
130
- color: color-mix(in oklab, currentColor 50%, transparent);
131
- }
132
- textarea {
133
- resize: vertical;
134
- }
135
- ::-webkit-search-decoration {
136
- -webkit-appearance: none;
137
- }
138
- ::-webkit-date-and-time-value {
139
- min-height: 1lh;
140
- text-align: inherit;
141
- }
142
- ::-webkit-datetime-edit {
143
- display: inline-flex;
144
- }
145
- ::-webkit-datetime-edit-fields-wrapper {
146
- padding: 0;
147
- }
148
- ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
149
- padding-block: 0;
150
- }
151
- :-moz-ui-invalid {
152
- box-shadow: none;
153
- }
154
- button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
155
- appearance: button;
156
- }
157
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
158
- height: auto;
159
- }
160
- [hidden]:where(:not([hidden="until-found"])) {
161
- display: none !important;
162
- }
163
- }
164
- @layer utilities {
165
- .container {
166
- width: 100%;
167
- @media (width >= 40rem) {
168
- max-width: 40rem;
169
- }
170
- @media (width >= 48rem) {
171
- max-width: 48rem;
172
- }
173
- @media (width >= 64rem) {
174
- max-width: 64rem;
175
- }
176
- @media (width >= 80rem) {
177
- max-width: 80rem;
178
- }
179
- @media (width >= 96rem) {
180
- max-width: 96rem;
181
- }
182
- }
183
- .filter {
184
- filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
185
- }
2
+ .filter {
3
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
186
4
  }
187
5
  @property --tw-blur {
188
6
  syntax: "*";
@@ -118,13 +118,10 @@ const SocialShare = ({ url = window.location.href, text = '', width = 600, heigh
118
118
  const shareUrl = buildShareUrl(config);
119
119
  openShareWindow(shareUrl);
120
120
  };
121
- // Use the provided container component or default to 'div'
122
- const Container = containerComponent || 'div';
123
- // Default button component to use if no platform-specific component is provided
121
+ const ContainerComponent = containerComponent || 'div';
124
122
  const DefaultButton = buttonComponent || 'button';
125
123
  const platformsToShow = platforms || Object.keys(shareConfigs);
126
- return (jsx(Container, { children: platformsToShow.map(key => {
127
- // Use a specific button component if defined for the key
124
+ return (jsx(ContainerComponent, { children: platformsToShow.map(key => {
128
125
  const Button = (buttonComponents && buttonComponents[key]) || DefaultButton;
129
126
  const label = platformLabels[key] || key;
130
127
  return (jsx(Button, { onClick: () => handleShare(key), title: `Share on ${label}`, children: label }, key));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}