mediacube-ui-v2 0.0.46 → 0.0.47

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/README.md CHANGED
@@ -134,7 +134,7 @@ TypeScript cannot handle type information for `.vue` imports by default, so we r
134
134
 
135
135
  ## Storybook interface support
136
136
 
137
- ![info image storybook interface](/npm_preview.jpg)
137
+ ![info image storybook interface](/dist/npm_preview.jpg)
138
138
 
139
139
  [//]: # (## Available Types)
140
140
  [//]: # (—)
@@ -134,7 +134,7 @@ TypeScript cannot handle type information for `.vue` imports by default, so we r
134
134
 
135
135
  ## Storybook interface support
136
136
 
137
- ![info image storybook interface](/npm_preview.jpg)
137
+ ![info image storybook interface](/dist/npm_preview.jpg)
138
138
 
139
139
  [//]: # (## Available Types)
140
140
  [//]: # ({{types}})
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "mediacube-ui-v2",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
+ "license": "MIT",
4
5
  "description": "Design system for Mediacube services",
5
6
  "keywords": [
6
7
  "vue3",
@@ -9,22 +10,26 @@
9
10
  "design-system"
10
11
  ],
11
12
  "author": "dsa@mediacube.io",
12
- "license": "MIT",
13
13
  "main": "./dist/mediacube-ui-v2.umd.cjs",
14
14
  "module": "./dist/mediacube-ui-v2.js",
15
15
  "types": "./dist/types/index.d.ts",
16
16
  "style": "./dist/style.css",
17
- "tokens": "./dist/assets/tokens/",
18
- "styles": "./dist/assets/styles/",
19
17
  "exports": {
20
18
  ".": {
21
19
  "import": "./dist/mediacube-ui-v2.js",
22
20
  "require": "./dist/mediacube-ui-v2.umd.cjs"
23
21
  },
24
- "./style": "./dist/style.css"
22
+ "./style": "./dist/style.css",
23
+ "./variables": "./dist/assets/variables.scss",
24
+ "./tokens/*": "./dist/assets/tokens/*",
25
+ "./styles/*": "./dist/assets/styles/*",
26
+ "./fonts/*": "./dist/assets/fonts/*"
25
27
  },
26
28
  "files": [
27
- "dist"
29
+ "dist",
30
+ "dist/assets/tokens",
31
+ "dist/assets/styles",
32
+ "dist/assets/fonts"
28
33
  ],
29
34
  "private": false,
30
35
  "type": "module",
@@ -1,6 +0,0 @@
1
- {
2
- "$animation-slide-up": "slide-up 0.3s",
3
- "$animation-slide-up-with-margin": "slide-up-with-margin 0.3s",
4
- "$animation-spinner": "rotate 1.2s infinite cubic-bezier(0.55, 0, 0.1, 1)",
5
- "$animation-glow": "glow 1.5s ease-in-out infinite"
6
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$radius-square": "0px",
3
- "$radius-50": "4px",
4
- "$radius-100": "8px",
5
- "$radius-150": "12px",
6
- "$radius-200": "16px",
7
- "$radius-300": "24px",
8
- "$radius-400": "32px",
9
- "$radius-1250": "100px",
10
- "$radius-rounded": "300px",
11
- "$radius-circle": "50%",
12
- "$token-radius": {
13
- "50": "4px",
14
- "100": "8px",
15
- "150": "12px",
16
- "200": "16px",
17
- "300": "24px",
18
- "400": "32px",
19
- "1250": "100px",
20
- "square": "0px",
21
- "rounded": "300px",
22
- "circle": "50%"
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- {
2
- "$shadow-xs": "0 2px 8px rgba(0, 0, 0, 0.16)",
3
- "$shadow-s": "0 4px 12px rgba(0, 0, 0, 0.16)",
4
- "$shadow-m": "0 12px 32px rgba(0, 0, 0, 0.24)",
5
- "$shadow-l": "0 24px 40px rgba(0, 0, 0, 0.16)",
6
- "$shadow-xs-blue": "0px 2px 8px rgba(51, 68, 153, 0.1)",
7
- "$shadow-s-blue": "0 4px 12px rgba(51, 68, 153, 0.1)",
8
- "$shadow-m-blue": "0 12px 32px rgba(51, 68, 153, 0.2)",
9
- "$shadow-xs-purple": "0px 2px 8px rgba(91, 44, 205, 0.1)",
10
- "$shadow-s-purple": "0 4px 12px rgba(91, 44, 205, 0.1)",
11
- "$shadow-m-purple": "0 12px 32px rgba(91, 44, 205, 0.2)",
12
- "$token-shadows": {
13
- "xs": "0 2px 8px rgba(0, 0, 0, 0.16)",
14
- "s": "0 4px 12px rgba(0, 0, 0, 0.16)",
15
- "m": "0 12px 32px rgba(0, 0, 0, 0.24)",
16
- "l": "0 24px 40px rgba(0, 0, 0, 0.16)",
17
- "xs-blue": "0px 2px 8px rgba(51, 68, 153, 0.1)",
18
- "s-blue": "0 4px 12px rgba(51, 68, 153, 0.1)",
19
- "m-blue": "0 12px 32px rgba(51, 68, 153, 0.2)",
20
- "xs-purple": "0px 2px 8px rgba(91, 44, 205, 0.1)",
21
- "s-purple": "0 4px 12px rgba(91, 44, 205, 0.1)",
22
- "m-purple": "0 12px 32px rgba(91, 44, 205, 0.2)"
23
- }
24
- }
@@ -1,71 +0,0 @@
1
- {
2
- "$color-black": "#202427",
3
- "$color-dark-gray": "#5C6670",
4
- "$color-gray": "#8F99A3",
5
- "$color-outline-gray": "#C7CCD1",
6
- "$color-outline-light": "#DEE0E2",
7
- "$color-hover-gray": "#EDF0F3",
8
- "$color-bg-gray": "#F5F6Fa",
9
- "$color-white": "#FFFFFF",
10
- "$color-hover-purple": "#7238FF",
11
- "$color-purple": "#8756FF",
12
- "$color-light-purple": "#CBB7FF",
13
- "$color-lighter-purple": "#EEE8FF",
14
- "$color-bg-purple": "#9673ED",
15
- "$color-primary-bg": "#F5F6Fa",
16
- "$color-hover-blue": "#0A54C2",
17
- "$color-blue": "#2578F4",
18
- "$color-light-blue": "#92BBFA",
19
- "$color-lighter-blue": "#E1EDFF",
20
- "$color-dark-orange": "#BD8400",
21
- "$color-orange": "#FCB100",
22
- "$color-yellow": "#FFC60A",
23
- "$color-dark-red": "#D5260B",
24
- "$color-bright-pink": "#e8178a",
25
- "$color-red": "#F5563D",
26
- "$color-pale-pink": "#FC9283",
27
- "$color-dark-green": "#218321",
28
- "$color-green": "#4DCB4D",
29
- "$color-toxic": "#E8F443",
30
- "$color-ultraviolet": "#C41CFD",
31
- "$color-pinkish": "#F073B1",
32
- "$color-azure": "#0A85C2",
33
- "$color-turquoise": "#4EA9A2",
34
- "$color-darken-turquoise": "#2F8C99",
35
- "$color-transparent": "transparent",
36
- "$token-colors": {
37
- "purple": "#8756FF",
38
- "hover-purple": "#7238FF",
39
- "light-purple": "#CBB7FF",
40
- "bg-purple": "#9673ED",
41
- "lighter-purple": "#EEE8FF",
42
- "black": "#202427",
43
- "outline-light": "#DEE0E2",
44
- "dark-gray": "#5C6670",
45
- "gray": "#8F99A3",
46
- "outline-gray": "#C7CCD1",
47
- "hover-gray": "#EDF0F3",
48
- "bg-gray": "#F5F6Fa",
49
- "white": "#FFFFFF",
50
- "hover-blue": "#0A54C2",
51
- "blue": "#2578F4",
52
- "light-blue": "#92BBFA",
53
- "lighter-blue": "#E1EDFF",
54
- "dark-orange": "#BD8400",
55
- "orange": "#FCB100",
56
- "yellow": "#FFC60A",
57
- "dark-red": "#D5260B",
58
- "red": "#F5563D",
59
- "bright-pink": "#e8178a",
60
- "pale-pink": "#FC9283",
61
- "dark-green": "#218321",
62
- "green": "#4DCB4D",
63
- "toxic": "#E8F443",
64
- "ultraviolet": "#C41CFD",
65
- "pinkish": "#F073B1",
66
- "azure": "#0A85C2",
67
- "turquoise": "#4EA9A2",
68
- "darken-turquoise": "#2F8C99",
69
- "transparent": "transparent"
70
- }
71
- }
@@ -1,10 +0,0 @@
1
- {
2
- "$duration-s": "150ms",
3
- "$duration-m": "300ms",
4
- "$duration-l": "500ms",
5
- "$token-durations": {
6
- "s": "150ms",
7
- "m": "300ms",
8
- "l": "500ms"
9
- }
10
- }
@@ -1,3 +0,0 @@
1
- {
2
- "$easing-swift": "cubic-bezier(0.55, 0, 0.1, 1)"
3
- }
@@ -1,4 +0,0 @@
1
- {
2
- "$font-family-main": "'Inter', sans-serif",
3
- "$font-family-additional": "'Source Serif Pro', serif"
4
- }
@@ -1,18 +0,0 @@
1
- {
2
- "$font-size-100": "10px",
3
- "$font-size-200": "13px",
4
- "$font-size-300": "16px",
5
- "$font-size-400": "20px",
6
- "$font-size-500": "28px",
7
- "$font-size-600": "32px",
8
- "$font-size-700": "48px",
9
- "$token-font-sizes": {
10
- "100": "10px",
11
- "200": "13px",
12
- "300": "16px",
13
- "400": "20px",
14
- "500": "28px",
15
- "600": "32px",
16
- "700": "48px"
17
- }
18
- }
@@ -1,12 +0,0 @@
1
- {
2
- "$font-weight-normal": "400",
3
- "$font-weight-medium": "500",
4
- "$font-weight-semi-bold": "600",
5
- "$font-weight-bold": "700",
6
- "$token-font-weights": {
7
- "normal": "400",
8
- "medium": "500",
9
- "semi-bold": "600",
10
- "bold": "700"
11
- }
12
- }
@@ -1,13 +0,0 @@
1
- {
2
- "$gradient-pink": "linear-gradient(180deg, #F5576C 0%, #F093FB 100%)",
3
- "$gradient-violet": "linear-gradient(180deg, #E41AFE 0%, #8035F8 100%)",
4
- "$gradient-blue": "linear-gradient(180deg, #1ADBFE 0%, #3580F8 100%)",
5
- "$gradient-yellow": "linear-gradient(180deg, #FEE41A 0%, #F89B35 100%)",
6
- "$gradient-green": "linear-gradient(180deg, #C9DD4C 0%, #63BE7E 100%)",
7
- "$gradient-red": "linear-gradient(180deg, #F26567 0%, #F79440 100%)",
8
- "$gradient-purple": "linear-gradient(270deg, #9a47ed 0%, #8446ff 100%)",
9
- "$gradient-purple-pink": "linear-gradient(90deg, #722eff 2%, #fe6ffc 100%)",
10
- "$gradient-blue-purple": "linear-gradient(90deg, #18bfe3 20%, #8756ff 70%)",
11
- "$gradient-dark-blue": "linear-gradient(90deg, #5550EF 0%, #7F4EFF 100%)",
12
- "$gradient-primary-radial": "radial-gradient(rgb(179, 211, 255), rgb(62, 132, 244))"
13
- }
@@ -1,19 +0,0 @@
1
- import animations from './animations.json';
2
- import borderRadius from './border-radius.json';
3
- import boxShadows from './box-shadows.json';
4
- import colors from './colors.json';
5
- import durations from './durations.json';
6
- import easings from './easings.json';
7
- import fontFamilies from './font-families.json';
8
- import fontSizes from './font-sizes.json';
9
- import fontWeights from './font-weights.json';
10
- import gradients from './gradients.json';
11
- import letterSpacings from './letter-spacings.json';
12
- import lineHeights from './line-heights.json';
13
- import mediaQueries from './media-queries.json';
14
- import opacities from './opacities.json';
15
- import sizes from './sizes.json';
16
- import spacings from './spacings.json';
17
- import zIndexes from './z-indexes.json';
18
- export { animations, borderRadius, boxShadows, colors, durations, easings, fontFamilies, fontSizes, fontWeights, gradients, letterSpacings, lineHeights, mediaQueries, opacities, sizes, spacings, zIndexes, };
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAA;AAC1C,OAAO,YAAY,MAAM,sBAAsB,CAAA;AAC/C,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAC3C,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,OAAO,MAAM,gBAAgB,CAAA;AACpC,OAAO,YAAY,MAAM,sBAAsB,CAAA;AAC/C,OAAO,SAAS,MAAM,mBAAmB,CAAA;AACzC,OAAO,WAAW,MAAM,qBAAqB,CAAA;AAC7C,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,WAAW,MAAM,qBAAqB,CAAA;AAC7C,OAAO,YAAY,MAAM,sBAAsB,CAAA;AAC/C,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,MAAM,cAAc,CAAA;AAChC,OAAO,QAAQ,MAAM,iBAAiB,CAAA;AACtC,OAAO,QAAQ,MAAM,kBAAkB,CAAA;AAEvC,OAAO,EACL,UAAU,EACV,YAAY,EACZ,UAAU,EACV,MAAM,EACN,SAAS,EACT,OAAO,EACP,YAAY,EACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,cAAc,EACd,WAAW,EACX,YAAY,EACZ,SAAS,EACT,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,CAAA"}
@@ -1,18 +0,0 @@
1
- import animations from './animations.json';
2
- import borderRadius from './border-radius.json';
3
- import boxShadows from './box-shadows.json';
4
- import colors from './colors.json';
5
- import durations from './durations.json';
6
- import easings from './easings.json';
7
- import fontFamilies from './font-families.json';
8
- import fontSizes from './font-sizes.json';
9
- import fontWeights from './font-weights.json';
10
- import gradients from './gradients.json';
11
- import letterSpacings from './letter-spacings.json';
12
- import lineHeights from './line-heights.json';
13
- import mediaQueries from './media-queries.json';
14
- import opacities from './opacities.json';
15
- import sizes from './sizes.json';
16
- import spacings from './spacings.json';
17
- import zIndexes from './z-indexes.json';
18
- export { animations, borderRadius, boxShadows, colors, durations, easings, fontFamilies, fontSizes, fontWeights, gradients, letterSpacings, lineHeights, mediaQueries, opacities, sizes, spacings, zIndexes, };
@@ -1,37 +0,0 @@
1
- import animations from './animations.json'
2
- import borderRadius from './border-radius.json'
3
- import boxShadows from './box-shadows.json'
4
- import colors from './colors.json'
5
- import durations from './durations.json'
6
- import easings from './easings.json'
7
- import fontFamilies from './font-families.json'
8
- import fontSizes from './font-sizes.json'
9
- import fontWeights from './font-weights.json'
10
- import gradients from './gradients.json'
11
- import letterSpacings from './letter-spacings.json'
12
- import lineHeights from './line-heights.json'
13
- import mediaQueries from './media-queries.json'
14
- import opacities from './opacities.json'
15
- import sizes from './sizes.json'
16
- import spacings from './spacings.json'
17
- import zIndexes from './z-indexes.json'
18
-
19
- export {
20
- animations,
21
- borderRadius,
22
- boxShadows,
23
- colors,
24
- durations,
25
- easings,
26
- fontFamilies,
27
- fontSizes,
28
- fontWeights,
29
- gradients,
30
- letterSpacings,
31
- lineHeights,
32
- mediaQueries,
33
- opacities,
34
- sizes,
35
- spacings,
36
- zIndexes,
37
- }
@@ -1,4 +0,0 @@
1
- {
2
- "$letter-spacing-m": "0.4px",
3
- "$letter-spacing-l": "1px"
4
- }
@@ -1,18 +0,0 @@
1
- {
2
- "$line-height-150": "12px",
3
- "$line-height-200": "16px",
4
- "$line-height-250": "20px",
5
- "$line-height-300": "24px",
6
- "$line-height-400": "32px",
7
- "$line-height-500": "40px",
8
- "$line-height-600": "48px",
9
- "$token-line-heights": {
10
- "150": "12px",
11
- "200": "16px",
12
- "250": "20px",
13
- "300": "24px",
14
- "400": "32px",
15
- "500": "40px",
16
- "600": "48px"
17
- }
18
- }
@@ -1,26 +0,0 @@
1
- {
2
- "$media-query-xs": "\"(min-width: 375px)\"",
3
- "$media-query-s": "\"(min-width: 480px)\"",
4
- "$media-query-m": "\"(min-width: 768px)\"",
5
- "$media-query-l": "\"(min-width: 1024px)\"",
6
- "$media-query-xl": "\"(min-width: 1440px)\"",
7
- "$media-query-xs-down": "\"(max-width: 374px)\"",
8
- "$media-query-s-down": "\"(max-width: 479px)\"",
9
- "$media-query-m-down": "\"(max-width: 767px)\"",
10
- "$media-query-l-down": "\"(max-width: 1023px)\"",
11
- "$media-query-xl-down": "\"(max-width: 1439px)\"",
12
- "$media-desktop": "\"(hover: hover) and (pointer: fine)\"",
13
- "$media-mobile": "\"(hover: none) and (pointer: coarse)\"",
14
- "$token-media-queries": {
15
- "xs": "\"(min-width: 375px)\"",
16
- "s": "\"(min-width: 480px)\"",
17
- "m": "\"(min-width: 768px)\"",
18
- "l": "\"(min-width: 1024px)\"",
19
- "xl": "\"(min-width: 1440px)\"",
20
- "xs-down": "\"(max-width: 374px)\"",
21
- "s-down": "\"(max-width: 479px)\"",
22
- "m-down": "\"(max-width: 767px)\"",
23
- "l-down": "\"(max-width: 1023px)\"",
24
- "xl-down": "\"(max-width: 1439px)\""
25
- }
26
- }
@@ -1,5 +0,0 @@
1
- {
2
- "$opacity-disabled": "0.6",
3
- "$opacity-active": "0.7",
4
- "$opacity-hover": "0.8"
5
- }
@@ -1,42 +0,0 @@
1
- {
2
- "$size-50": "4px",
3
- "$size-100": "8px",
4
- "$size-150": "12px",
5
- "$size-200": "16px",
6
- "$size-250": "20px",
7
- "$size-300": "24px",
8
- "$size-400": "32px",
9
- "$size-500": "40px",
10
- "$size-550": "44px",
11
- "$size-600": "48px",
12
- "$size-700": "56px",
13
- "$size-800": "64px",
14
- "$size-900": "72px",
15
- "$size-1000": "80px",
16
- "$token-avatar-sizes": {
17
- "300": "24px",
18
- "400": "32px",
19
- "500": "40px",
20
- "600": "48px",
21
- "700": "56px",
22
- "800": "64px",
23
- "900": "72px",
24
- "1000": "80px"
25
- },
26
- "$token-icon-sizes": {
27
- "50": "4px",
28
- "100": "8px",
29
- "150": "12px",
30
- "200": "16px",
31
- "250": "20px",
32
- "300": "24px",
33
- "400": "32px",
34
- "500": "40px",
35
- "550": "44px",
36
- "600": "48px",
37
- "700": "56px",
38
- "800": "64px",
39
- "900": "72px",
40
- "1000": "80px"
41
- }
42
- }
@@ -1,34 +0,0 @@
1
- {
2
- "$space-zero": "0",
3
- "$space-50": "4px",
4
- "$space-100": "8px",
5
- "$space-150": "12px",
6
- "$space-200": "16px",
7
- "$space-250": "20px",
8
- "$space-300": "24px",
9
- "$space-350": "28px",
10
- "$space-400": "32px",
11
- "$space-450": "36px",
12
- "$space-500": "40px",
13
- "$space-600": "48px",
14
- "$space-700": "56px",
15
- "$space-800": "64px",
16
- "$space-900": "72px",
17
- "$space-1000": "80px",
18
- "$token-spaces": {
19
- "50": "4px",
20
- "100": "8px",
21
- "150": "12px",
22
- "200": "16px",
23
- "250": "20px",
24
- "300": "24px",
25
- "400": "32px",
26
- "450": "36px",
27
- "500": "40px",
28
- "600": "48px",
29
- "700": "56px",
30
- "800": "64px",
31
- "900": "72px",
32
- "1000": "80px"
33
- }
34
- }
@@ -1,12 +0,0 @@
1
- {
2
- "$z-index-sticky-tabs": "49",
3
- "$z-index-dropdown": "100",
4
- "$z-index-sticky": "100",
5
- "$z-index-overlay-page": "7000",
6
- "$z-index-modal": "8000",
7
- "$z-index-top-line": "8000",
8
- "$z-index-header": "10000",
9
- "$z-index-notification": "10001",
10
- "$z-index-overlay": "10002",
11
- "$z-index-toasted": "10003"
12
- }
package/dist/preview.png DELETED
Binary file