@onereach/styles 0.1.15 → 0.2.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/package.json +2 -3
- package/src/base/_generic.scss +1 -1
- package/src/base/_reset.scss +0 -14
- package/src/base/_typography.scss +15 -18
- package/src/utils/functions/index.scss +0 -5
- package/src/utils/mixins/_hover.scss +2 -2
- package/src/utils/mixins/index.scss +0 -1
- package/src/variables/_initial.scss +8 -28
- package/dist/index.css +0 -841
- package/dist/index.css.map +0 -1
- package/dist/index.min.css +0 -1
- package/src/components/_or-button.scss +0 -400
- package/src/components/_or-checkbox.scss +0 -119
- package/src/components/_or-collapse.scss +0 -11
- package/src/components/_or-error.scss +0 -13
- package/src/components/_or-hint.scss +0 -13
- package/src/components/_or-icon.scss +0 -32
- package/src/components/_or-label.scss +0 -14
- package/src/components/_or-list.scss +0 -44
- package/src/components/_or-loader.scss +0 -126
- package/src/components/_or-radio-group.scss +0 -33
- package/src/components/_or-radio.scss +0 -118
- package/src/components/_or-switch.scss +0 -165
- package/src/components/_or-tab-header-item.scss +0 -42
- package/src/components/_or-tabs.scss +0 -32
- package/src/components/_or-textbox.scss +0 -238
- package/src/utils/functions/_get-font-size.scss +0 -19
- package/src/utils/functions/_get-font-weight.scss +0 -14
- package/src/utils/functions/_get-line-height.scss +0 -19
- package/src/utils/functions/_get-spacing.scss +0 -18
- package/src/utils/functions/_get-theme-color.scss +0 -0
- package/src/utils/mixins/_height-vh.scss +0 -19
package/dist/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/variables/_css-vars.scss","index.css","../src/base/_reset.scss","../src/base/_generic.scss","../src/utils/mixins/_overflow-touch.scss","../src/base/_typography.scss","../src/variables/_initial.scss","../src/base/_v-transitions.scss","../src/base/_animation.scss","../src/layout/_display.scss","../src/layout/_flexbox.scss","../src/layout/_spacings.scss"],"names":[],"mappings":"AASI;;EAQM,oBAAA;EACA,6BAA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BAAA;AVywBN;;AUtwBI;EACE,mBAAA;AVywBN;;AU9wBI;EACE,mBAAA;AVixBN;;AU9wBI;EACE,oBAAA;AVixBN;;AUtxBI;EACE,iBAAA;AVyxBN;;AUtxBI;EACE,kBAAA;AVyxBN","file":"index.css"}
|
package/dist/index.min.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root,[data-theme=light]{--c-primary:#178ae7;--c-primary-darken-3:#1682d9;--c-primary-darken-5:#157cd0;--c-primary-lighten-20:#73b9f1;--c-error:#da1e28;--c-error-darken-3:#cd1c26;--c-error-darken-5:#c41b24;--c-error-lighten-20:#ec7279;--c-warning:#f0d10d;--c-warning-darken-3:#e1c40c;--c-warning-darken-5:#d8bc0c;--c-warning-lighten-20:#f7e46c;--c-success:#4ec00f;--c-success-darken-3:#48b20e;--c-success-darken-5:#44a80d;--c-success-lighten-20:#82f045;--c-neutral-0:#fff;--c-neutral-0-darken-3:#f7f7f7;--c-neutral-0-darken-5:#f2f2f2;--c-neutral-0-lighten-20:white;--c-neutral-1:#f6f6f6;--c-neutral-1-darken-3:#eeeeee;--c-neutral-1-darken-5:#e9e9e9;--c-neutral-1-lighten-20:white;--c-neutral-2:#dfdfdf;--c-neutral-2-darken-3:#d7d7d7;--c-neutral-2-darken-5:#d2d2d2;--c-neutral-2-lighten-20:white;--c-neutral-3:#c6c6c6;--c-neutral-3-darken-3:#bebebe;--c-neutral-3-darken-5:#b9b9b9;--c-neutral-3-lighten-20:#f9f9f9;--c-neutral-4:#91969d;--c-neutral-4-darken-3:#898e96;--c-neutral-4-darken-5:#848991;--c-neutral-4-lighten-20:#c7c9cd;--c-neutral-5:#6c747d;--c-neutral-5-darken-3:#656c75;--c-neutral-5-darken-5:#60676f;--c-neutral-5-lighten-20:#a1a7ae;--c-neutral-6:#1e232b;--c-neutral-6-darken-3:#181c22;--c-neutral-6-darken-5:#14171c;--c-neutral-6-lighten-20:#485467;--c-body-bg:#fff;--c-white:#fff;--c-black:#000}[data-theme=dark]{--c-primary:#178ae7;--c-primary-darken-3:#1682d9;--c-primary-darken-5:#157cd0;--c-primary-lighten-20:#73b9f1;--c-error:#da1e28;--c-error-darken-3:#cd1c26;--c-error-darken-5:#c41b24;--c-error-lighten-20:#ec7279;--c-warning:#f0d10d;--c-warning-darken-3:#e1c40c;--c-warning-darken-5:#d8bc0c;--c-warning-lighten-20:#f7e46c;--c-success:#4ec00f;--c-success-darken-3:#48b20e;--c-success-darken-5:#44a80d;--c-success-lighten-20:#82f045;--c-neutral-0:#fff;--c-neutral-0-darken-3:#f7f7f7;--c-neutral-0-darken-5:#f2f2f2;--c-neutral-0-lighten-20:white;--c-neutral-1:#f6f6f6;--c-neutral-1-darken-3:#eeeeee;--c-neutral-1-darken-5:#e9e9e9;--c-neutral-1-lighten-20:white;--c-neutral-2:#dfdfdf;--c-neutral-2-darken-3:#d7d7d7;--c-neutral-2-darken-5:#d2d2d2;--c-neutral-2-lighten-20:white;--c-neutral-3:#c6c6c6;--c-neutral-3-darken-3:#bebebe;--c-neutral-3-darken-5:#b9b9b9;--c-neutral-3-lighten-20:#f9f9f9;--c-neutral-4:#91969d;--c-neutral-4-darken-3:#898e96;--c-neutral-4-darken-5:#848991;--c-neutral-4-lighten-20:#c7c9cd;--c-neutral-5:#6c747d;--c-neutral-5-darken-3:#656c75;--c-neutral-5-darken-5:#60676f;--c-neutral-5-lighten-20:#a1a7ae;--c-neutral-6:#1e232b;--c-neutral-6-darken-3:#181c22;--c-neutral-6-darken-5:#14171c;--c-neutral-6-lighten-20:#485467;--c-c-body-bg:#fff;--c-c-body-bg-darken-3:#f7f7f7;--c-c-body-bg-darken-5:#f2f2f2;--c-c-body-bg-lighten-20:white;--c-white:#fff;--c-black:#000}:root{--s-0:0;--s-1:0.125rem;--s-2:0.25rem;--s-3:0.5rem;--s-4:1rem;--s-5:1.5rem;--s-6:2rem;--s-7:3rem;--s-8:4rem;--s-9:8rem;--t-func:cubic-bezier(0.12, 0.39, 0.5, 0.93);--t-duration:0.25s;--fs-0:0.75rem;--fs-1:0.875rem;--fs-2:1.125rem;--fs-3:1.375rem;--fw-0:400;--fw-1:600;--fw-2:800;--lh-0:1.125rem;--lh-1:1.3125rem;--lh-2:1.625rem}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,summary,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{padding:0;margin:0;vertical-align:baseline;border:0}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,select:-webkit-autofill,select:-webkit-autofill:focus,select:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{-webkit-transition:color 9999s ease-out,background-color 9999s ease-out;-webkit-transition-delay:9999s}*,::after,::before{box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body,html{-webkit-tap-highlight-color:transparent}blockquote,q{quotes:none}blockquote::after,blockquote::before,q::after,q::before{content:none}table{border-spacing:0;border-collapse:collapse}input,textarea{padding:0;margin:0;border-radius:0}input[type=search]::-ms-clear,input[type=search]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}html{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{overflow-x:hidden;overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:none;color:var(--c-neutral-6);background-color:var(--c-body-bg)}fieldset{border:none}a{text-decoration:none}code,pre{font-family:"Operator Mono","Fira Code Retina","Fira Code",FiraCode-Retina,"Andale Mono","Lucida Console",Consolas,Monaco,monospace;-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto}pre{-webkit-overflow-scrolling:touch;padding:var(--s-4);overflow-x:auto;font-size:inherit;color:var(--c-neutral-6);text-align:left;word-wrap:normal;white-space:pre-wrap;background-color:var(--c-neutral-2)}pre code{padding:0;font-size:.75rem;color:currentColor;background-color:transparent}input[type=checkbox],input[type=radio]{vertical-align:baseline}.body-normal,.body-semibold,body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:var(--fs-1);font-weight:var(--fw-0);line-height:var(--lh-1)}.caption-bold,.caption-normal{font-size:var(--fs-0);font-weight:var(--fw-0);line-height:var(--lh-0)}.caption-bold{font-weight:800}.body-semibold{font-weight:600}.subheading,h4{font-size:var(--fs-2);font-weight:var(--fw-2);line-height:var(--lh-1)}.heading,h1{font-size:var(--fs-3);font-weight:var(--fw-2);line-height:var(--lh-2)}.fade-enter-active,.fade-leave-active{transition:opacity var(--t-duration) var(--t-func)}.fade-enter,.fade-leave-to{opacity:0}.flip-list-move{transition:transform var(--t-duration) var(--t-func)}@-webkit-keyframes spinAround{from{transform:rotate(0)}to{transform:rotate(359deg)}}@keyframes spinAround{from{transform:rotate(0)}to{transform:rotate(359deg)}}@-webkit-keyframes fade{from{opacity:1}to{opacity:0}}@keyframes fade{from{opacity:1}to{opacity:0}}.d-inline{display:inline}.d-inline-block{display:inline-block}.d-flex{display:flex}.d-inline-flex{display:inline-flex}.d-block{display:block}.d-grid{display:grid}.d-inline-grid{display:inline-grid}.align-baseline{align-items:baseline}.align-start{align-items:start}.align-end{align-items:end}.align-self-start{align-items:self-start}.align-self-end{align-items:self-end}.align-flex-start{align-items:flex-start}.align-flex-end{align-items:flex-end}.align-stretch{align-items:stretch}.align-center{align-items:center}.justify-start{justify-content:start}.justify-end{justify-content:end}.justify-left{justify-content:left}.justify-right{justify-content:right}.justify-flex-start{justify-content:flex-start}.justify-flex-end{justify-content:flex-end}.justify-space-between{justify-content:space-between}.justify-space-around{justify-content:space-around}.justify-sapce-evenly{justify-content:space-evenly}.justify-center{justify-content:center}.m-0{margin:0}.p-0{padding:0}.mt-0{margin-top:0}.pt-0{padding-top:0}.mr-0{margin-right:0}.pr-0{padding-right:0}.mb-0{margin-bottom:0}.pb-0{padding-bottom:0}.ml-0{margin-left:0}.pl-0{padding-left:0}.mt-1{margin-top:.125rem}.pt-1{padding-top:.125rem}.mr-1{margin-right:.125rem}.pr-1{padding-right:.125rem}.mb-1{margin-bottom:.125rem}.pb-1{padding-bottom:.125rem}.ml-1{margin-left:.125rem}.pl-1{padding-left:.125rem}.mt-2{margin-top:.25rem}.pt-2{padding-top:.25rem}.mr-2{margin-right:.25rem}.pr-2{padding-right:.25rem}.mb-2{margin-bottom:.25rem}.pb-2{padding-bottom:.25rem}.ml-2{margin-left:.25rem}.pl-2{padding-left:.25rem}.mt-3{margin-top:.5rem}.pt-3{padding-top:.5rem}.mr-3{margin-right:.5rem}.pr-3{padding-right:.5rem}.mb-3{margin-bottom:.5rem}.pb-3{padding-bottom:.5rem}.ml-3{margin-left:.5rem}.pl-3{padding-left:.5rem}.mt-4{margin-top:1rem}.pt-4{padding-top:1rem}.mr-4{margin-right:1rem}.pr-4{padding-right:1rem}.mb-4{margin-bottom:1rem}.pb-4{padding-bottom:1rem}.ml-4{margin-left:1rem}.pl-4{padding-left:1rem}.mt-5{margin-top:1.5rem}.pt-5{padding-top:1.5rem}.mr-5{margin-right:1.5rem}.pr-5{padding-right:1.5rem}.mb-5{margin-bottom:1.5rem}.pb-5{padding-bottom:1.5rem}.ml-5{margin-left:1.5rem}.pl-5{padding-left:1.5rem}.mt-6{margin-top:2rem}.pt-6{padding-top:2rem}.mr-6{margin-right:2rem}.pr-6{padding-right:2rem}.mb-6{margin-bottom:2rem}.pb-6{padding-bottom:2rem}.ml-6{margin-left:2rem}.pl-6{padding-left:2rem}.mt-7{margin-top:3rem}.pt-7{padding-top:3rem}.mr-7{margin-right:3rem}.pr-7{padding-right:3rem}.mb-7{margin-bottom:3rem}.pb-7{padding-bottom:3rem}.ml-7{margin-left:3rem}.pl-7{padding-left:3rem}.mt-8{margin-top:4rem}.pt-8{padding-top:4rem}.mr-8{margin-right:4rem}.pr-8{padding-right:4rem}.mb-8{margin-bottom:4rem}.pb-8{padding-bottom:4rem}.ml-8{margin-left:4rem}.pl-8{padding-left:4rem}.mt-9{margin-top:8rem}.pt-9{padding-top:8rem}.mr-9{margin-right:8rem}.pr-9{padding-right:8rem}.mb-9{margin-bottom:8rem}.pb-9{padding-bottom:8rem}.ml-9{margin-left:8rem}.pl-9{padding-left:8rem}
|
|
@@ -1,400 +0,0 @@
|
|
|
1
|
-
@use "../utils/index" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$btn-prefix: initial.$base-prefix !default;
|
|
5
|
-
|
|
6
|
-
$btn-min-width: px-to-rem(96) !default;
|
|
7
|
-
$btn-padding: var(--s-2) var(--s-4) !default;
|
|
8
|
-
$btn-cursor: pointer !default;
|
|
9
|
-
|
|
10
|
-
$btn-font-size: var(--fs-1) !default;
|
|
11
|
-
$btn-font-weight: var(--fw-1) !default;
|
|
12
|
-
$btn-line-height: px-to-rem(22) !default;
|
|
13
|
-
|
|
14
|
-
$btn-border-width: px-to-rem(1) !default;
|
|
15
|
-
$btn-border-style: solid !default;
|
|
16
|
-
$btn-border-radius: px-to-rem(4) !default;
|
|
17
|
-
|
|
18
|
-
$btn-letter-spacing: px-to-rem(-0.15) !default;
|
|
19
|
-
|
|
20
|
-
$btn-box-shadow: 0 px-to-rem(1) px-to-rem(2) 0 hsla(0, 0%, 0%, 20%) !default;
|
|
21
|
-
$btn-box-shadow-second: 0 px-to-rem(1) px-to-rem(2) 0 hsla(0, 0%, 0%, 10%) !default;
|
|
22
|
-
|
|
23
|
-
$btn-icon-font-size: calc(#{$btn-font-size} + #{px-to-rem(6)});
|
|
24
|
-
|
|
25
|
-
$list-of-colors: (primary, error, neutral-3, neutral-4, neutral-5, neutral-6);
|
|
26
|
-
$btn-types: (outline, text, icon, icon-simple);
|
|
27
|
-
|
|
28
|
-
@mixin default-color-mixin() {
|
|
29
|
-
@each $key in $list-of-colors {
|
|
30
|
-
&.is-#{$key}-color {
|
|
31
|
-
--btn-#{$key}-color: var(--c-white);
|
|
32
|
-
--btn-#{$key}-bg-color: var(--c-#{$key});
|
|
33
|
-
--btn-#{$key}-darken-3: var(--c-#{$key}-darken-3);
|
|
34
|
-
--btn-#{$key}-darken-5: var(--c-#{$key}-darken-5);
|
|
35
|
-
--btn-#{$key}-lighten-20: var(--c-#{$key}-lighten-20);
|
|
36
|
-
|
|
37
|
-
color: var(--btn-#{$key}-color);
|
|
38
|
-
background-color: var(--btn-#{$key}-bg-color);
|
|
39
|
-
border-color: var(--c-#{$key});
|
|
40
|
-
|
|
41
|
-
.#{$btn-prefix}-button {
|
|
42
|
-
&--loader {
|
|
43
|
-
&::after {
|
|
44
|
-
border-color: var(--btn-#{$key}-color);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@include hover {
|
|
50
|
-
background-color: var(--btn-#{$key}-darken-3);
|
|
51
|
-
border-color: var(--btn-#{$key}-darken-3);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@include active {
|
|
55
|
-
background-color: var(--btn-#{$key}-darken-5);
|
|
56
|
-
border-color: var(--btn-#{$key}-darken-5);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@include disabled {
|
|
60
|
-
background-color: var(--btn-#{$key}-lighten-20);
|
|
61
|
-
border-color: var(--btn-#{$key}-lighten-20);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@include loading {
|
|
65
|
-
background-color: var(--btn-#{$key}-lighten-20);
|
|
66
|
-
border-color: var(--btn-#{$key}-lighten-20);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@mixin outline-type() {
|
|
73
|
-
&.outline-type {
|
|
74
|
-
background-color: transparent;
|
|
75
|
-
box-shadow: none;
|
|
76
|
-
|
|
77
|
-
.#{$btn-prefix}-button {
|
|
78
|
-
&--loader {
|
|
79
|
-
&::after {
|
|
80
|
-
border-color: inherit;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@each $key in $list-of-colors {
|
|
86
|
-
&.is-#{$key}-color {
|
|
87
|
-
--btn-#{$key}-color: var(--c-#{$key});
|
|
88
|
-
--btn-#{$key}-darken-3: var(--c-#{$key}-darken-3);
|
|
89
|
-
--btn-#{$key}-darken-5: var(--c-#{$key}-darken-5);
|
|
90
|
-
--btn-#{$key}-lighten-20: var(--c-#{$key}-lighten-20);
|
|
91
|
-
|
|
92
|
-
color: var(--btn-#{$key}-color);
|
|
93
|
-
border-color: var(--btn-#{$key}-color);
|
|
94
|
-
|
|
95
|
-
.#{$btn-prefix}-button {
|
|
96
|
-
&--loader {
|
|
97
|
-
&::after {
|
|
98
|
-
border-color: var(--btn-#{$key}-lighten-20);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@include hover {
|
|
104
|
-
color: var(--c-white);
|
|
105
|
-
background-color: var(--btn-#{$key}-darken-3);
|
|
106
|
-
border-color: var(--btn-#{$key}-darken-3);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@include active {
|
|
110
|
-
color: var(--c-white);
|
|
111
|
-
background-color: var(--btn-#{$key}-darken-5);
|
|
112
|
-
border-color: var(--btn-#{$key}-darken-5);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@include disabled {
|
|
116
|
-
color: var(--btn-#{$key}-lighten-20);
|
|
117
|
-
background-color: transparent;
|
|
118
|
-
border-color: var(--btn-#{$key}-lighten-20);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@include loading {
|
|
122
|
-
color: var(--btn-#{$key}-lighten-20);
|
|
123
|
-
background-color: transparent;
|
|
124
|
-
border-color: var(--btn-#{$key}-lighten-20);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// states
|
|
130
|
-
@include hover {
|
|
131
|
-
box-shadow: $btn-box-shadow;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@include active {
|
|
135
|
-
box-shadow: $btn-box-shadow-second;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@include loading {
|
|
139
|
-
box-shadow: $btn-box-shadow-second;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@mixin text-type() {
|
|
145
|
-
&.text-type {
|
|
146
|
-
min-width: auto;
|
|
147
|
-
padding: 0;
|
|
148
|
-
background-color: transparent;
|
|
149
|
-
border: 1px solid transparent;
|
|
150
|
-
box-shadow: none;
|
|
151
|
-
|
|
152
|
-
@each $key in $list-of-colors {
|
|
153
|
-
&.is-#{$key}-color {
|
|
154
|
-
--btn-#{$key}-color: var(--c-#{$key});
|
|
155
|
-
--btn-#{$key}-darken-3: var(--c-#{$key}-darken-3);
|
|
156
|
-
--btn-#{$key}-darken-5: var(--c-#{$key}-darken-5);
|
|
157
|
-
--btn-#{$key}-lighten-20: var(--c-#{$key}-lighten-20);
|
|
158
|
-
|
|
159
|
-
color: var(--btn-#{$key}-color);
|
|
160
|
-
background-color: transparent;
|
|
161
|
-
border-color: transparent;
|
|
162
|
-
|
|
163
|
-
@include hover {
|
|
164
|
-
color: var(--btn-#{$key}-darken-3);
|
|
165
|
-
background-color: transparent;
|
|
166
|
-
border-color: transparent;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
@include active {
|
|
170
|
-
color: var(--btn-#{$key}-darken-5);
|
|
171
|
-
background-color: transparent;
|
|
172
|
-
border-color: transparent;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@include disabled {
|
|
176
|
-
color: var(--btn-#{$key}-lighten-20);
|
|
177
|
-
background-color: transparent;
|
|
178
|
-
border-color: transparent;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@include loading {
|
|
182
|
-
color: var(--btn-#{$key}-lighten-20);
|
|
183
|
-
background-color: transparent;
|
|
184
|
-
border-color: transparent;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
@mixin icon-type() {
|
|
192
|
-
&.icon-type {
|
|
193
|
-
min-width: auto;
|
|
194
|
-
max-width: px-to-rem(54);
|
|
195
|
-
padding: px-to-rem(14);
|
|
196
|
-
border-radius: initial.$round;
|
|
197
|
-
|
|
198
|
-
.material-icons {
|
|
199
|
-
font-size: px-to-rem(24);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.#{$btn-prefix}-button {
|
|
203
|
-
&--content {
|
|
204
|
-
&-append,
|
|
205
|
-
&-prepend {
|
|
206
|
-
margin: 0;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
@mixin icon-simple-type() {
|
|
214
|
-
&.icon-simple-type {
|
|
215
|
-
$btn-border-radius: 9999px;
|
|
216
|
-
|
|
217
|
-
min-width: auto;
|
|
218
|
-
max-width: px-to-rem(18);
|
|
219
|
-
padding: 0;
|
|
220
|
-
background-color: transparent;
|
|
221
|
-
border-color: transparent;
|
|
222
|
-
border-radius: $btn-border-radius;
|
|
223
|
-
box-shadow: none;
|
|
224
|
-
|
|
225
|
-
@each $key in $list-of-colors {
|
|
226
|
-
&.is-#{$key}-color {
|
|
227
|
-
--btn-#{$key}-color: var(--c-#{$key});
|
|
228
|
-
--btn-#{$key}-darken-3: var(--c-#{$key}-darken-3);
|
|
229
|
-
--btn-#{$key}-darken-5: var(--c-#{$key}-darken-5);
|
|
230
|
-
--btn-#{$key}-lighten-20: var(--c-#{$key}-lighten-20);
|
|
231
|
-
|
|
232
|
-
color: var(--btn-#{$key}-color);
|
|
233
|
-
background-color: transparent;
|
|
234
|
-
border-color: transparent;
|
|
235
|
-
|
|
236
|
-
@include hover {
|
|
237
|
-
color: var(--btn-#{$key}-darken-3);
|
|
238
|
-
background-color: transparent;
|
|
239
|
-
border-color: transparent;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@include active {
|
|
243
|
-
color: var(--btn-#{$key}-darken-5);
|
|
244
|
-
background-color: transparent;
|
|
245
|
-
border-color: transparent;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
@include disabled {
|
|
249
|
-
color: var(--btn-#{$key}-lighten-20);
|
|
250
|
-
background-color: transparent;
|
|
251
|
-
border-color: transparent;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
@include loading {
|
|
255
|
-
color: var(--btn-#{$key}-lighten-20);
|
|
256
|
-
background-color: transparent;
|
|
257
|
-
border-color: transparent;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.material-icons {
|
|
263
|
-
font-size: px-to-rem(16);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.#{$btn-prefix}-button {
|
|
267
|
-
&--loader {
|
|
268
|
-
&::after {
|
|
269
|
-
width: 100%;
|
|
270
|
-
height: 100%;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&--content {
|
|
275
|
-
&-append,
|
|
276
|
-
&-prepend {
|
|
277
|
-
margin: 0;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
@mixin is-fullwidth() {
|
|
285
|
-
&.is-fullwidth {
|
|
286
|
-
width: 100%;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
@mixin is-block() {
|
|
291
|
-
&.is-block {
|
|
292
|
-
display: flex;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.#{$btn-prefix}-button {
|
|
297
|
-
-moz-appearance: none;
|
|
298
|
-
-webkit-appearance: none;
|
|
299
|
-
position: relative;
|
|
300
|
-
box-sizing: border-box;
|
|
301
|
-
display: inline-flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
justify-content: center;
|
|
304
|
-
min-width: $btn-min-width;
|
|
305
|
-
padding: $btn-padding;
|
|
306
|
-
font-family: inherit;
|
|
307
|
-
font-size: $btn-font-size;
|
|
308
|
-
font-weight: $btn-font-weight;
|
|
309
|
-
line-height: $btn-line-height;
|
|
310
|
-
letter-spacing: $btn-letter-spacing;
|
|
311
|
-
cursor: $btn-cursor;
|
|
312
|
-
border: $btn-border-width $btn-border-style;
|
|
313
|
-
border-radius: $btn-border-radius;
|
|
314
|
-
box-shadow: $btn-box-shadow;
|
|
315
|
-
|
|
316
|
-
@include transition(color, background-color, box-shadow, border-color);
|
|
317
|
-
|
|
318
|
-
.material-icons {
|
|
319
|
-
font-size: $btn-icon-font-size;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
&--loader {
|
|
323
|
-
position: absolute !important;
|
|
324
|
-
top: 0;
|
|
325
|
-
left: 0;
|
|
326
|
-
z-index: 1;
|
|
327
|
-
width: 100%;
|
|
328
|
-
height: 100%;
|
|
329
|
-
pointer-events: none;
|
|
330
|
-
visibility: hidden;
|
|
331
|
-
opacity: 0;
|
|
332
|
-
|
|
333
|
-
@include transition(opacity);
|
|
334
|
-
|
|
335
|
-
&::after {
|
|
336
|
-
border-color: inherit;
|
|
337
|
-
animation-play-state: paused;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
&--content {
|
|
342
|
-
display: inline-flex;
|
|
343
|
-
align-items: center;
|
|
344
|
-
justify-content: center;
|
|
345
|
-
|
|
346
|
-
@include transition(opacity);
|
|
347
|
-
|
|
348
|
-
&-prepend,
|
|
349
|
-
&-append {
|
|
350
|
-
display: inline-flex;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
&-prepend {
|
|
354
|
-
margin-right: px-to-rem(8);
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
&-append {
|
|
358
|
-
margin-left: px-to-rem(8);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// sizes
|
|
363
|
-
&.is-small {
|
|
364
|
-
font-size: calc(#{$btn-font-size} - #{px-to-rem(2)});
|
|
365
|
-
line-height: 1;
|
|
366
|
-
|
|
367
|
-
.material-icons {
|
|
368
|
-
font-size: calc(#{$btn-font-size} - #{px-to-rem(2)} + #{px-to-rem(4)});
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
@include default-color-mixin;
|
|
373
|
-
@include outline-type;
|
|
374
|
-
@include text-type;
|
|
375
|
-
@include icon-type;
|
|
376
|
-
@include icon-simple-type;
|
|
377
|
-
@include is-fullwidth;
|
|
378
|
-
@include is-block;
|
|
379
|
-
|
|
380
|
-
@include loading {
|
|
381
|
-
.#{$btn-prefix}-button {
|
|
382
|
-
&--loader {
|
|
383
|
-
visibility: visible;
|
|
384
|
-
opacity: 1;
|
|
385
|
-
|
|
386
|
-
&::after {
|
|
387
|
-
animation-play-state: running;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
&--content {
|
|
392
|
-
opacity: 0;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
@include disabled {
|
|
398
|
-
box-shadow: none;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
@use "../utils/index" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$checkbox-prefix: initial.$base-prefix !default;
|
|
5
|
-
|
|
6
|
-
$checkbox-size: px-to-rem(16) !default;
|
|
7
|
-
$checkbox-border-radius: px-to-rem(2) !default;
|
|
8
|
-
$checkbox-border-width: px-to-rem(1) !default;
|
|
9
|
-
$checkbox-border-color: var(--c-neutral-2) !default;
|
|
10
|
-
$checkbox-border-color-hover: var(--c-neutral-2-darken-3) !default;
|
|
11
|
-
$checkbox-border-color-active: var(--c-neutral-2-darken-5) !default;
|
|
12
|
-
$checkbox-bg-color: var(--c-white) !default;
|
|
13
|
-
$checkbox-text-color: inherit !default;
|
|
14
|
-
$checkbox-font-size: inherit !default;
|
|
15
|
-
$checkbox-line-height: inherit !default;
|
|
16
|
-
$checkbox-content-spacing: var(--s-3) !default;
|
|
17
|
-
|
|
18
|
-
// checked
|
|
19
|
-
$checkbox-icon-color-checked: var(--c-white) !default;
|
|
20
|
-
$checkbox-border-color-checked: var(--c-primary) !default;
|
|
21
|
-
$checkbox-border-color-checked-hover: var(--c-primary-darken-3) !default;
|
|
22
|
-
$checkbox-border-color-checked-active: var(--c-primary-darken-5) !default;
|
|
23
|
-
$checkbox-bg-color-checked: var(--c-primary) !default;
|
|
24
|
-
$checkbox-bg-color-checked-hover: var(--c-primary-darken-3) !default;
|
|
25
|
-
$checkbox-bg-color-checked-active: var(--c-primary-darken-5) !default;
|
|
26
|
-
$checkbox-bg-color-checked-disabled: var(--c-primary-lighten-20) !default;
|
|
27
|
-
|
|
28
|
-
@mixin is-checked () {
|
|
29
|
-
&.is-checked {
|
|
30
|
-
.#{$checkbox-prefix}-checkbox {
|
|
31
|
-
&--checkbox {
|
|
32
|
-
background-color: $checkbox-bg-color-checked;
|
|
33
|
-
border-color: $checkbox-border-color-checked;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@include hover {
|
|
38
|
-
.#{$checkbox-prefix}-checkbox {
|
|
39
|
-
&--checkbox {
|
|
40
|
-
background-color: $checkbox-bg-color-checked-hover;
|
|
41
|
-
border-color: $checkbox-border-color-checked-hover;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@include active {
|
|
47
|
-
.#{$checkbox-prefix}-checkbox {
|
|
48
|
-
&--checkbox {
|
|
49
|
-
background-color: $checkbox-bg-color-checked-active;
|
|
50
|
-
border-color: $checkbox-border-color-checked-active;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@include disabled {
|
|
56
|
-
.#{$checkbox-prefix}-checkbox {
|
|
57
|
-
&--checkbox {
|
|
58
|
-
background-color: $checkbox-bg-color-checked-disabled;
|
|
59
|
-
border-color: $checkbox-bg-color-checked-disabled;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.#{$checkbox-prefix}-checkbox {
|
|
67
|
-
display: inline-flex;
|
|
68
|
-
align-items: center;
|
|
69
|
-
font-size: $checkbox-font-size;
|
|
70
|
-
line-height: $checkbox-size;
|
|
71
|
-
color: $checkbox-text-color;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
|
|
74
|
-
&--input {
|
|
75
|
-
@include visually-hidden;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&--checkbox {
|
|
79
|
-
display: inline-flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
width: $checkbox-size;
|
|
83
|
-
min-width: $checkbox-size;
|
|
84
|
-
height: $checkbox-size;
|
|
85
|
-
min-height: $checkbox-size;
|
|
86
|
-
margin-right: $checkbox-content-spacing;
|
|
87
|
-
background-color: $checkbox-bg-color;
|
|
88
|
-
border: $checkbox-border-width solid $checkbox-border-color;
|
|
89
|
-
border-radius: $checkbox-border-radius;
|
|
90
|
-
|
|
91
|
-
@include transition(background-color, border-color);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&--icon {
|
|
95
|
-
font-size: $checkbox-size;
|
|
96
|
-
color: $checkbox-icon-color-checked;
|
|
97
|
-
|
|
98
|
-
@include transition(color);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@include hover {
|
|
102
|
-
.#{$checkbox-prefix}-checkbox {
|
|
103
|
-
&--checkbox {
|
|
104
|
-
border-color: $checkbox-border-color-hover;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@include active {
|
|
110
|
-
.#{$checkbox-prefix}-checkbox {
|
|
111
|
-
&--checkbox {
|
|
112
|
-
border-color: $checkbox-border-color-active;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
@include disabled;
|
|
118
|
-
@include is-checked;
|
|
119
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use "../utils/functions/px-to-rem" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$error-prefix: initial.$base-prefix !default;
|
|
5
|
-
$error-font-size: var(--fs-0) !default;
|
|
6
|
-
$error-line-height: px-to-rem(14) !default;
|
|
7
|
-
$error-color: var(--c-error) !default;
|
|
8
|
-
|
|
9
|
-
.#{$error-prefix}-error {
|
|
10
|
-
font-size: $error-font-size;
|
|
11
|
-
line-height: $error-line-height;
|
|
12
|
-
color: $error-color;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use "../utils/functions/px-to-rem" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$hint-prefix: initial.$base-prefix !default;
|
|
5
|
-
$hint-font-size: var(--fs-0) !default;
|
|
6
|
-
$hint-line-height: px-to-rem(14) !default;
|
|
7
|
-
$hint-color: var(--c-neutral-4) !default;
|
|
8
|
-
|
|
9
|
-
.#{$hint-prefix}-hint {
|
|
10
|
-
font-size: $hint-font-size;
|
|
11
|
-
line-height: $hint-line-height;
|
|
12
|
-
color: $hint-color;
|
|
13
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@use "../utils/index" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$icon-prefix: initial.$base-prefix !default;
|
|
5
|
-
|
|
6
|
-
$icon-size: px-to-rem(20) !default;
|
|
7
|
-
$icon-color: inherit !default;
|
|
8
|
-
|
|
9
|
-
$list-of-colors: (neutral-3, neutral-4);
|
|
10
|
-
|
|
11
|
-
.#{$icon-prefix}-icon {
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
font-size: $icon-size;
|
|
14
|
-
color: $icon-color;
|
|
15
|
-
|
|
16
|
-
@each $key in $list-of-colors {
|
|
17
|
-
&.is-#{$key}-color {
|
|
18
|
-
color: var(--c-#{$key});
|
|
19
|
-
|
|
20
|
-
@include hover {
|
|
21
|
-
color: var(--c-neutral-5);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@include active {
|
|
25
|
-
color: var(--c-neutral-6);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@include transition(color);
|
|
31
|
-
@include disabled;
|
|
32
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
@use "../utils/index" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$label-prefix: initial.$base-prefix !default;
|
|
5
|
-
$label-font-size: var(--fs-0) !default;
|
|
6
|
-
$label-line-height: px-to-rem(14) !default;
|
|
7
|
-
$label-color: var(--c-neutral-4) !default;
|
|
8
|
-
|
|
9
|
-
.#{$label-prefix}-label {
|
|
10
|
-
width: 100%;
|
|
11
|
-
font-size: $label-font-size;
|
|
12
|
-
line-height: $label-line-height;
|
|
13
|
-
color: $label-color;
|
|
14
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
@use "../utils/index" as *;
|
|
2
|
-
@use "../variables/initial";
|
|
3
|
-
|
|
4
|
-
$list-prefix: initial.$base-prefix !default;
|
|
5
|
-
|
|
6
|
-
.#{$list-prefix}-list {
|
|
7
|
-
cursor: default;
|
|
8
|
-
|
|
9
|
-
&--header {
|
|
10
|
-
margin-bottom: var(--s-2);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&--handle {
|
|
14
|
-
margin-right: var(--s-3);
|
|
15
|
-
cursor: move;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&--delete-btn {
|
|
19
|
-
margin-left: var(--s-3);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&--item {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: flex-start;
|
|
26
|
-
width: 100%;
|
|
27
|
-
margin-bottom: var(--s-4);
|
|
28
|
-
|
|
29
|
-
//.material-icons {
|
|
30
|
-
// color: var(--c-neutral-4);
|
|
31
|
-
//}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&--slot {
|
|
35
|
-
width: 100%;
|
|
36
|
-
transition: all initial.$transition-duration initial.$transition-function;
|
|
37
|
-
|
|
38
|
-
> * {
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@include disabled;
|
|
44
|
-
}
|