@salutejs/plasma-new-hope 0.326.1-canary.2018.15640028321.0 → 0.326.1-canary.2018.15641070716.0
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/cjs/components/Carousel/CarouselNew/Carousel.css +5 -5
- package/cjs/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/cjs/components/Carousel/CarouselNew/Carousel.js.map +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.styles.js +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.styles.js.map +1 -1
- package/cjs/components/Carousel/CarouselNew/{Carousel.styles_cy8fdd.css → Carousel.styles_1benby5.css} +1 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/cjs/components/Carousel/CarouselNew/Carousel.tokens.js.map +1 -1
- package/cjs/index.css +5 -5
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.styles.js +5 -5
- package/emotion/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/emotion/cjs/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/emotion/cjs/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/emotion/es/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/emotion/es/components/Carousel/CarouselNew/Carousel.styles.js +6 -6
- package/emotion/es/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/emotion/es/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/es/components/Carousel/CarouselNew/Carousel.css +5 -5
- package/es/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/es/components/Carousel/CarouselNew/Carousel.js.map +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.styles.js +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.styles.js.map +1 -1
- package/es/components/Carousel/CarouselNew/{Carousel.styles_cy8fdd.css → Carousel.styles_1benby5.css} +1 -1
- package/es/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/es/components/Carousel/CarouselNew/Carousel.tokens.js.map +1 -1
- package/es/index.css +5 -5
- package/package.json +2 -2
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.styles.js +1 -1
- package/styled-components/cjs/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/cjs/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.js +0 -2
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.styles.js +2 -2
- package/styled-components/es/components/Carousel/CarouselNew/Carousel.tokens.js +8 -1
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Carousel/Carousel.stories.tsx +0 -1
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.config.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Carousel/Carousel.stories.tsx +0 -1
- package/types/components/Carousel/CarouselNew/Carousel.d.ts.map +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.styles.d.ts.map +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.tokens.d.ts +7 -0
- package/types/components/Carousel/CarouselNew/Carousel.tokens.d.ts.map +1 -1
@@ -2,7 +2,7 @@ import styled from 'styled-components';
|
|
2
2
|
import { css } from 'styled-components';
|
3
3
|
import { component, mergeConfig } from "../../../engines";
|
4
4
|
import { iconButtonConfig, iconButtonTokens } from "../../IconButton";
|
5
|
-
import { classes } from "./Carousel.tokens";
|
5
|
+
import { classes, tokens } from "./Carousel.tokens";
|
6
6
|
var mergedConfig = /*#__PURE__*/mergeConfig(iconButtonConfig);
|
7
7
|
export var IconButtonComponent = /*#__PURE__*/component(mergedConfig);
|
8
8
|
export var base = /*#__PURE__*/css(["position:relative;"]);
|
@@ -17,7 +17,7 @@ export var CarouselTrack = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
});
|
18
18
|
export var IconButton = /*#__PURE__*/styled(IconButtonComponent).withConfig({
|
19
19
|
componentId: "plasma-new-hope__sc-vln28v-2"
|
20
|
-
})(["position:absolute;top:50%;transform:translateY(-50%);left:0.75rem;z-index:10;", ":var(
|
20
|
+
})(["position:absolute;top:50%;transform:translateY(-50%);left:0.75rem;z-index:10;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":2.5rem;", ":2.5rem;", ":1rem;", ":var(", ");&.", "{left:auto;right:0.75rem;}"], iconButtonTokens.iconButtonColor, tokens.controlIconButtonColor, iconButtonTokens.iconButtonBackgroundColor, tokens.controlIconButtonBackgroundColor, iconButtonTokens.iconButtonColorHover, tokens.controlIconButtonColorHover, iconButtonTokens.iconButtonBackgroundColorHover, tokens.controlIconButtonBackgroundColorHover, iconButtonTokens.iconButtonColorActive, tokens.controlIconButtonColorActive, iconButtonTokens.iconButtonBackgroundColorActive, tokens.controlIconButtonBackgroundColorActive, iconButtonTokens.iconButtonHeight, iconButtonTokens.iconButtonWidth, iconButtonTokens.iconButtonPadding, iconButtonTokens.iconButtonRadius, tokens.controlIconButtonRadius, classes.rightControlButton);
|
21
21
|
export var ControlsWrapper = /*#__PURE__*/styled.div.withConfig({
|
22
22
|
componentId: "plasma-new-hope__sc-vln28v-3"
|
23
23
|
})(["position:relative;"]);
|
@@ -13,5 +13,12 @@ export var classes = {
|
|
13
13
|
};
|
14
14
|
export var tokens = {
|
15
15
|
paginationDotBackground: '--plasma-carousel-pagination-dot-background',
|
16
|
-
paginationDotActiveBackground: '--plasma-carousel-pagination-dot-active-background'
|
16
|
+
paginationDotActiveBackground: '--plasma-carousel-pagination-dot-active-background',
|
17
|
+
controlIconButtonRadius: '--plasma-carousel-control-icon-button-radius',
|
18
|
+
controlIconButtonColor: '--plasma-carousel-control-icon-button-color',
|
19
|
+
controlIconButtonBackgroundColor: '--plasma-carousel-control-icon-button-background-color',
|
20
|
+
controlIconButtonColorHover: '--plasma-carousel-control-icon-button-color-hover',
|
21
|
+
controlIconButtonBackgroundColorHover: '--plasma-carousel-control-icon-button-background-color-hover',
|
22
|
+
controlIconButtonColorActive: '--plasma-carousel-control-icon-button-color-active',
|
23
|
+
controlIconButtonBackgroundColorActive: '--plasma-carousel-control-icon-button-background-color-active'
|
17
24
|
};
|
@@ -7,10 +7,10 @@ export var config = {
|
|
7
7
|
},
|
8
8
|
variations: {
|
9
9
|
view: {
|
10
|
-
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground)
|
10
|
+
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground, tokens.controlIconButtonColor, tokens.controlIconButtonBackgroundColor, tokens.controlIconButtonColorHover, tokens.controlIconButtonBackgroundColorHover, tokens.controlIconButtonColorActive, tokens.controlIconButtonBackgroundColorActive)
|
11
11
|
},
|
12
12
|
size: {
|
13
|
-
s: /*#__PURE__*/css([""])
|
13
|
+
s: /*#__PURE__*/css(["", ":100%;"], tokens.controlIconButtonRadius)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -7,10 +7,10 @@ export var config = {
|
|
7
7
|
},
|
8
8
|
variations: {
|
9
9
|
view: {
|
10
|
-
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground)
|
10
|
+
"default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);", ":var(--surface-solid-default);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--surface-transparent-secondary-active);"], tokens.paginationDotBackground, tokens.paginationDotActiveBackground, tokens.controlIconButtonColor, tokens.controlIconButtonBackgroundColor, tokens.controlIconButtonColorHover, tokens.controlIconButtonBackgroundColorHover, tokens.controlIconButtonColorActive, tokens.controlIconButtonBackgroundColorActive)
|
11
11
|
},
|
12
12
|
size: {
|
13
|
-
s: /*#__PURE__*/css([""])
|
13
|
+
s: /*#__PURE__*/css(["", ":100%;"], tokens.controlIconButtonRadius)
|
14
14
|
}
|
15
15
|
}
|
16
16
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAOpD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC,
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAOpD;;GAEG;AACH,eAAO,MAAM,eAAe,SAAU,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC,4FAqE5E,CAAC;AAEN,eAAO,MAAM,iBAAiB;;;mBAvEQ,SAAS,CAAC,cAAc,EAAE,gBAAgB,CAAC;;;;;;;;;;;;;;CAwFhF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.styles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAE3D,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAmB3B,CAAC;AAEF,eAAO,MAAM,aAAa;SAAqB,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;EAStF,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Carousel.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.styles.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAE3D,eAAO,MAAM,IAAI,0CAEhB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAmB3B,CAAC;AAEF,eAAO,MAAM,aAAa;SAAqB,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;EAStF,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAuBtB,CAAC;AAEF,eAAO,MAAM,eAAe,qKAE3B,CAAC"}
|
@@ -14,5 +14,12 @@ export declare const classes: {
|
|
14
14
|
export declare const tokens: {
|
15
15
|
paginationDotBackground: string;
|
16
16
|
paginationDotActiveBackground: string;
|
17
|
+
controlIconButtonRadius: string;
|
18
|
+
controlIconButtonColor: string;
|
19
|
+
controlIconButtonBackgroundColor: string;
|
20
|
+
controlIconButtonColorHover: string;
|
21
|
+
controlIconButtonBackgroundColorHover: string;
|
22
|
+
controlIconButtonColorActive: string;
|
23
|
+
controlIconButtonBackgroundColorActive: string;
|
17
24
|
};
|
18
25
|
//# sourceMappingURL=Carousel.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Carousel.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Carousel.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/CarouselNew/Carousel.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;CAUlB,CAAC"}
|