tide-design-system 2.2.15 → 2.2.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.
- package/.storybook/preview.ts +8 -1
- package/dist/css/reset.css +1 -1
- package/dist/css/utilities-lg.css +7 -3
- package/dist/css/utilities-md.css +7 -3
- package/dist/css/utilities-sm.css +7 -3
- package/dist/css/utilities-xl.css +7 -3
- package/dist/css/utilities.css +7 -3
- package/dist/css/variables.css +1 -1
- package/dist/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +16 -18
- package/dist/tide-design-system.esm.js +1191 -1175
- package/dist/utilities/storybook.ts +12 -3
- package/index.ts +3 -1
- package/package.json +1 -1
- package/src/assets/css/reset.css +1 -1
- package/src/assets/css/utilities-lg.css +7 -3
- package/src/assets/css/utilities-md.css +7 -3
- package/src/assets/css/utilities-sm.css +7 -3
- package/src/assets/css/utilities-xl.css +7 -3
- package/src/assets/css/utilities.css +7 -3
- package/src/assets/css/variables.css +1 -1
- package/src/components/TideImage.vue +7 -1
- package/src/components/TideInputCheckbox.vue +3 -5
- package/src/components/TideInputRadio.vue +18 -5
- package/src/components/TideInputText.vue +50 -50
- package/src/components/TideInputTextarea.vue +17 -22
- package/src/components/TidePopover.vue +8 -3
- package/src/contexts/sandbox/AppSandbox.vue +3 -1
- package/src/stories/TideInputRadio.stories.ts +9 -0
- package/src/types/Styles.ts +5 -0
- package/src/utilities/storybook.ts +12 -3
package/.storybook/preview.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { useArgs } from '@storybook/preview-api';
|
|
|
2
2
|
|
|
3
3
|
import type { Preview } from '@storybook/vue3';
|
|
4
4
|
|
|
5
|
+
import { setup } from '@storybook/vue3';
|
|
6
|
+
|
|
5
7
|
import '@/assets/css/main.css';
|
|
6
8
|
import '@/assets/css/reset.css';
|
|
7
9
|
import '@/assets/css/storybook.css';
|
|
@@ -11,6 +13,7 @@ import DemoCssUtilitiesByTextInput from '../src/stories/DemoCssUtilitiesByTextIn
|
|
|
11
13
|
import FoundationsGrid from '../src/stories/FoundationsGrid.stories';
|
|
12
14
|
import FoundationsMargin from '../src/stories/FoundationsMargin.stories';
|
|
13
15
|
import { isProduction } from '../src/utilities/storybook';
|
|
16
|
+
import TideAlert from '../src/components/TideAlert.vue';
|
|
14
17
|
|
|
15
18
|
const cssRoot = isProduction ? '/assets/css/realm' : '/src/assets/css/realm';
|
|
16
19
|
|
|
@@ -42,7 +45,7 @@ const preview: Preview = {
|
|
|
42
45
|
|
|
43
46
|
return {
|
|
44
47
|
components: { story },
|
|
45
|
-
template: `<div class="${decoratorCss} tide-padding-bottom-4 ${context.globals.surfaceBg} ${context.globals.surfaceFg}"><story /></div>`
|
|
48
|
+
template: `<div class="${decoratorCss} tide-padding-bottom-4 ${context.globals.surfaceBg} ${context.globals.surfaceFg}"><story /></div><div class="tide-position-absolute tide-display-flex tide-axis1-end tide-right-0 tide-top-0 tide-width-full tide-pointer-events-none"><TideAlert :class="['tide-margin-1 tide-width-full']" id="do-something-alert" is-dismissible="false" is-toast="true" heading="Did something." style="opacity: 0; transition: opacity ease-in-out 300ms;" /></div>`
|
|
46
49
|
};
|
|
47
50
|
},
|
|
48
51
|
(story, context) => {
|
|
@@ -246,4 +249,8 @@ const preview: Preview = {
|
|
|
246
249
|
},
|
|
247
250
|
};
|
|
248
251
|
|
|
252
|
+
setup((app) => {
|
|
253
|
+
app.component('TideAlert', TideAlert);
|
|
254
|
+
});
|
|
255
|
+
|
|
249
256
|
export default preview;
|
package/dist/css/reset.css
CHANGED
|
@@ -411,9 +411,13 @@
|
|
|
411
411
|
.lg-tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
412
412
|
.lg-tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
413
413
|
|
|
414
|
-
.lg-tide-
|
|
415
|
-
.lg-tide-
|
|
416
|
-
|
|
414
|
+
.lg-tide-strikethrough {text-decoration: line-through;}
|
|
415
|
+
.lg-tide-strikethrough-none {text-decoration: none;}
|
|
416
|
+
|
|
417
|
+
.lg-tide-text-center {text-align: center;}
|
|
418
|
+
.lg-tide-text-justify {text-align: justify;}
|
|
419
|
+
.lg-tide-text-left {text-align: left;}
|
|
420
|
+
.lg-tide-text-right {text-align: right;}
|
|
417
421
|
|
|
418
422
|
.lg-tide-text-transform-lower {text-transform: lowercase;}
|
|
419
423
|
.lg-tide-text-transform-none {text-transform: none;}
|
|
@@ -411,9 +411,13 @@
|
|
|
411
411
|
.md-tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
412
412
|
.md-tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
413
413
|
|
|
414
|
-
.md-tide-
|
|
415
|
-
.md-tide-
|
|
416
|
-
|
|
414
|
+
.md-tide-strikethrough {text-decoration: line-through;}
|
|
415
|
+
.md-tide-strikethrough-none {text-decoration: none;}
|
|
416
|
+
|
|
417
|
+
.md-tide-text-center {text-align: center;}
|
|
418
|
+
.md-tide-text-justify {text-align: justify;}
|
|
419
|
+
.md-tide-text-left {text-align: left;}
|
|
420
|
+
.md-tide-text-right {text-align: right;}
|
|
417
421
|
|
|
418
422
|
.md-tide-text-transform-lower {text-transform: lowercase;}
|
|
419
423
|
.md-tide-text-transform-none {text-transform: none;}
|
|
@@ -411,9 +411,13 @@
|
|
|
411
411
|
.sm-tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
412
412
|
.sm-tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
413
413
|
|
|
414
|
-
.sm-tide-
|
|
415
|
-
.sm-tide-
|
|
416
|
-
|
|
414
|
+
.sm-tide-strikethrough {text-decoration: line-through;}
|
|
415
|
+
.sm-tide-strikethrough-none {text-decoration: none;}
|
|
416
|
+
|
|
417
|
+
.sm-tide-text-center {text-align: center;}
|
|
418
|
+
.sm-tide-text-justify {text-align: justify;}
|
|
419
|
+
.sm-tide-text-left {text-align: left;}
|
|
420
|
+
.sm-tide-text-right {text-align: right;}
|
|
417
421
|
|
|
418
422
|
.sm-tide-text-transform-lower {text-transform: lowercase;}
|
|
419
423
|
.sm-tide-text-transform-none {text-transform: none;}
|
|
@@ -411,9 +411,13 @@
|
|
|
411
411
|
.xl-tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
412
412
|
.xl-tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
413
413
|
|
|
414
|
-
.xl-tide-
|
|
415
|
-
.xl-tide-
|
|
416
|
-
|
|
414
|
+
.xl-tide-strikethrough {text-decoration: line-through;}
|
|
415
|
+
.xl-tide-strikethrough-none {text-decoration: none;}
|
|
416
|
+
|
|
417
|
+
.xl-tide-text-center {text-align: center;}
|
|
418
|
+
.xl-tide-text-justify {text-align: justify;}
|
|
419
|
+
.xl-tide-text-left {text-align: left;}
|
|
420
|
+
.xl-tide-text-right {text-align: right;}
|
|
417
421
|
|
|
418
422
|
.xl-tide-text-transform-lower {text-transform: lowercase;}
|
|
419
423
|
.xl-tide-text-transform-none {text-transform: none;}
|
package/dist/css/utilities.css
CHANGED
|
@@ -410,9 +410,13 @@
|
|
|
410
410
|
.tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
411
411
|
.tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
412
412
|
|
|
413
|
-
.tide-
|
|
414
|
-
.tide-
|
|
415
|
-
|
|
413
|
+
.tide-strikethrough {text-decoration: line-through;}
|
|
414
|
+
.tide-strikethrough-none {text-decoration: none;}
|
|
415
|
+
|
|
416
|
+
.tide-text-center {text-align: center;}
|
|
417
|
+
.tide-text-justify {text-align: justify;}
|
|
418
|
+
.tide-text-left {text-align: left;}
|
|
419
|
+
.tide-text-right {text-align: right;}
|
|
416
420
|
|
|
417
421
|
.tide-text-transform-lower {text-transform: lowercase;}
|
|
418
422
|
.tide-text-transform-none {text-transform: none;}
|