@nordcode/ui 2.0.4 → 2.0.6

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 (32) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE.md +159 -159
  3. package/README.md +0 -2
  4. package/out/bundle.css +14 -24
  5. package/out/complete.css +21 -34
  6. package/out/complete_configless.css +7 -10
  7. package/package.json +3 -3
  8. package/src/assets/icons/ArrowRightSolid.svelte +3 -1
  9. package/src/assets/icons/arrow-right-solid.svg +5 -1
  10. package/src/assets/icons/favicon.svg +13 -4
  11. package/src/assets/logos/nordcode-logo-icon.svg +6 -1
  12. package/src/assets/logos/nordcode-logo.svg +46 -13
  13. package/src/modules/dialogs/svelte/dialog.svelte +14 -15
  14. package/src/modules/dialogs/ts/dialogs.ts +80 -79
  15. package/src/modules/notifications/js/notifications.js +3 -6
  16. package/src/modules/notifications/svelte/NotificationTemplate.svelte +0 -2
  17. package/src/styles/components/buttons.css +29 -43
  18. package/src/styles/components/dialogs.css +1 -2
  19. package/src/styles/components/forms.css +3 -7
  20. package/src/styles/components/gallery.css +12 -8
  21. package/src/styles/components/inputs/base.css +3 -63
  22. package/src/styles/components/inputs/segmented.css +4 -8
  23. package/src/styles/components/inputs/switch.css +1 -3
  24. package/src/styles/components/notifications.css +1 -2
  25. package/src/styles/config/config.css +352 -305
  26. package/src/styles/theme/colors.css +182 -124
  27. package/src/styles/theme/colors_processed.css +254 -80
  28. package/src/styles/utils/base.css +2 -13
  29. package/src/styles/utils/easings.css +312 -292
  30. package/src/styles/utils/layouts.css +12 -18
  31. package/src/styles/utils/reset.css +3 -30
  32. package/transform.js +1 -1
@@ -101,38 +101,11 @@
101
101
  gap: 0;
102
102
  }
103
103
 
104
- :where(
105
- a[href],
106
- area,
107
- button,
108
- input:not(
109
- [type="text"],
110
- [type="email"],
111
- [type="number"],
112
- [type="password"],
113
- [type=""],
114
- [type="tel"],
115
- [type="url"]
116
- ),
117
- label[for],
118
- select,
119
- summary,
120
- [tabindex]:not([tabindex*="-"], pre)
121
- ) {
104
+ :where(a[href], area, button, input:not([type="text"], [type="email"], [type="number"], [type="password"], [type=""], [type="tel"], [type="url"]), label[for], select, summary, [tabindex]:not([tabindex*="-"], pre)) {
122
105
  cursor: pointer;
123
106
  }
124
107
 
125
- :where(
126
- a[href],
127
- area,
128
- button,
129
- input,
130
- label[for],
131
- select,
132
- summary,
133
- textarea,
134
- [tabindex]:not([tabindex*="-"])
135
- ) {
108
+ :where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
136
109
  touch-action: manipulation;
137
110
  -webkit-tap-highlight-color: transparent;
138
111
  }
@@ -156,6 +129,6 @@
156
129
  }
157
130
 
158
131
  :where(pre) {
159
- white-space: pre-wrap;
132
+ white-space: pre-wrap;
160
133
  }
161
134
  }
package/transform.js CHANGED
@@ -1,6 +1,6 @@
1
- import fs from 'node:fs';
2
1
  import browserslist from 'browserslist';
3
2
  import { browserslistToTargets, bundle } from 'lightningcss';
3
+ import fs from 'node:fs';
4
4
 
5
5
  const browserlistTargtsWidelyAvailable = [
6
6
  'Chrome > 0 and last 2.5 years',