@leaflink/stash 43.5.1 → 44.0.0-beta.1

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.
@@ -1,103 +0,0 @@
1
- /**
2
-
3
- Animations
4
-
5
- ◡◠ ✥ ◠◡
6
-
7
- Table of Contents:
8
-
9
- • Attention
10
- • Loading
11
-
12
- */
13
-
14
- /* ---------------------------------------
15
- Attention
16
- ---------------------------------------- */
17
-
18
- @keyframes shake {
19
- from,
20
- to {
21
- transform: translate3d(0, 0, 0);
22
- }
23
-
24
- 10%,
25
- 30%,
26
- 50%,
27
- 70%,
28
- 90% {
29
- transform: translate3d(-10px, 0, 0);
30
- }
31
-
32
- 20%,
33
- 40%,
34
- 60%,
35
- 80% {
36
- transform: translate3d(10px, 0, 0);
37
- }
38
- }
39
-
40
- .fx-shake {
41
- animation: 2s shake 1;
42
- }
43
-
44
-
45
- @keyframes pulse {
46
- from {
47
- transform: scale3d(1, 1, 1);
48
- }
49
-
50
- 50% {
51
- transform: scale3d(1.25, 1.25, 1.25);
52
- }
53
-
54
- to {
55
- transform: scale3d(1, 1, 1);
56
- }
57
- }
58
-
59
- .fx-pulse {
60
- animation: 1s pulse;
61
- }
62
-
63
-
64
- /* ---------------------------------------
65
- Loading
66
- ---------------------------------------- */
67
-
68
- @keyframes spin-loading {
69
- 0% {
70
- transform: rotate(0deg);
71
- }
72
- 65% {
73
- transform: rotate(720deg);
74
- }
75
- 100% {
76
- transform: rotate(720deg);
77
- }
78
- }
79
-
80
- .fx-spin {
81
- animation-duration: 1.5s;
82
- animation-iteration-count: infinite;
83
- animation-name: spin-loading;
84
- animation-timing-function: ease-in-out;
85
- }
86
-
87
- @keyframes flash {
88
- from {
89
- opacity: 1;
90
- }
91
-
92
- 50% {
93
- opacity: 0;
94
- }
95
-
96
- to {
97
- opacity: 1;
98
- }
99
- }
100
-
101
- .fx-flash {
102
- animation: 0.5s flash;
103
- }
@@ -1,167 +0,0 @@
1
- /**
2
-
3
- All the things that will affect the _display_ of your content. This
4
- includes breakpoint helpers (ie toggle display according to viewport),
5
- overflow helpers, actual `display` classes (including hiding things),
6
- z-index helpers, elevation, and borders.
7
-
8
-
9
- ◡◠ ✥ ◠◡
10
-
11
- Table of Contents:
12
-
13
- • Overflow
14
- • Hidden
15
- • Display
16
- • Height
17
- • Width
18
- • Borders
19
- • Rotate
20
-
21
- */
22
-
23
- /* ---------------------------------------
24
- Overflow
25
- ---------------------------------------- */
26
-
27
- .overflow-hidden {
28
- overflow: hidden;
29
- }
30
-
31
- .overflow-x-hidden {
32
- overflow-x: hidden;
33
- }
34
-
35
- .overflow-y-hidden {
36
- overflow-y: hidden;
37
- }
38
-
39
-
40
- .sr-only {
41
- border-width: 0;
42
- clip: rect(0, 0, 0, 0);
43
- height: 1px;
44
- margin: -1px;
45
- overflow: hidden;
46
- padding: 0;
47
- position: absolute;
48
- white-space: nowrap;
49
- width: 1px;
50
- }
51
-
52
- /* ---------------------------------------
53
- Display
54
- ---------------------------------------- */
55
-
56
- .block {
57
- display: block !important;
58
- }
59
-
60
- .inline-block {
61
- display: inline-block !important;
62
- }
63
-
64
- /* ---------------------------------------
65
- Hidden
66
- ---------------------------------------- */
67
-
68
- .hidden {
69
- display: none !important;
70
- }
71
-
72
- @each $size, $media_query in $display-breakpoints {
73
- .hidden {
74
- &-#{$size} { // NOTE: `#{$size}:hidden` prob better for consistency
75
- @media #{$media_query} {
76
- display: none !important;
77
- }
78
- }
79
- }
80
- }
81
-
82
- /* ---------------------------------------
83
- Height
84
- ---------------------------------------- */
85
-
86
- .h-full {
87
- height: 100%;
88
- }
89
-
90
-
91
- /* ---------------------------------------
92
- Width
93
- ---------------------------------------- */
94
-
95
- .w-full {
96
- width: 100%;
97
- }
98
-
99
- .w-1\/2 {
100
- width: 50%;
101
- }
102
-
103
- .w-64 {
104
- width: 16rem;
105
- }
106
-
107
- .w-screen {
108
- width: 100vw;
109
- }
110
-
111
- .w-min-auto {
112
- min-width: auto;
113
- }
114
-
115
-
116
- /* ---------------------------------------
117
- Borders
118
- ---------------------------------------- */
119
-
120
- .border {
121
- border-width: get($borders, 'thin');
122
- }
123
-
124
- .no-border {
125
- border-width: 0 !important;
126
- }
127
-
128
- .no-outline {
129
- outline: 0;
130
- }
131
-
132
- .rounded {
133
- border-radius: $border-radius;
134
- }
135
-
136
- .border-t {
137
- border-top-width: get($borders, 'thin');
138
- }
139
-
140
- .border-r {
141
- border-right-width: get($borders, 'thin');
142
- }
143
-
144
- .border-b {
145
- border-bottom-width: get($borders, 'thin');
146
- }
147
-
148
- .border-l {
149
- border-left-width: get($borders, 'thin');
150
- }
151
-
152
-
153
- /* ---------------------------------------
154
- Rotate
155
- ---------------------------------------- */
156
-
157
- .rotate-270 {
158
- transform: rotate(270deg);
159
- }
160
-
161
- .rotate-180 {
162
- transform: rotate(180deg);
163
- }
164
-
165
- .rotate-90 {
166
- transform: rotate(90deg);
167
- }
@@ -1,200 +0,0 @@
1
- /**
2
-
3
- Grid and layout stuffs: CSS grids and flex helpers, grid
4
- gutters, spacing.
5
-
6
- ***
7
-
8
- IMPORTANT NOTE: The original grid classes have been *Deprecated* in favor
9
- of their `ll-` prefixed versions. Please don't use any of the grid utilities
10
- anymore without prefixing with `ll-`.
11
-
12
- Changes:
13
-
14
- - `grid` --> `ll-grid`
15
- - `.grid-cols-{n}` --> `.ll-grid-cols-{n}`
16
- - `.grid--2cols` --> REMOVED
17
- - `.grid--4cols` --> REMOVED
18
- - `.md:grid-cols-{n}` --> `.md:ll-grid-cols-{n}`
19
- - `.lg:grid-cols-{n}` --> `.lg:ll-grid-cols-{n}`
20
-
21
- Things that stay the same (Tailwind implementation is the same):
22
-
23
- - `col-span-N`
24
-
25
- ***
26
-
27
- ◡◠ ✥ ◠◡
28
-
29
- Table of Contents:
30
-
31
- • CSS Grid
32
- • Flex
33
-
34
- */
35
-
36
- /* ---------------------------------------
37
- CSS Grid
38
- ---------------------------------------- */
39
-
40
- .ll-grid,
41
- .grid {
42
- column-gap: var(--grid-gutter);
43
- display: grid;
44
- grid-column-gap: var(--grid-gutter); // iOS fix
45
- grid-row-gap: space(3); // iOS fix
46
- grid-template-columns: repeat(1, 1fr);
47
- row-gap: space(3);
48
-
49
- > * { min-width: 0; } // Fix for CSS grid, https://daverupert.com/2017/09/breaking-the-grid/
50
-
51
- // DEPRECATED
52
- // #######################################
53
- @include breakpoint('md') {
54
- grid-template-columns: repeat(12, 1fr);
55
- }
56
-
57
- @for $i from 1 through 12 {
58
- .span-#{$i} {
59
- @include span($i);
60
- }
61
- }
62
- // END DEPRECATED
63
- // #######################################
64
- }
65
-
66
-
67
- $start: 1;
68
- $end: 12;
69
-
70
- // TODO roll in to loop, below
71
- @each $i in $grid-columns {
72
- .ll-grid-cols-#{$i},
73
- .grid-cols-#{$i} {
74
- grid-template-columns: repeat(#{$i}, 1fr);
75
- }
76
- }
77
-
78
- // make the grid span at full width
79
- .col-span-full {
80
- grid-column: 1 / -1;
81
- }
82
-
83
- // Note: new syntax to not conflict w/ existing span-xx classes
84
- // Same implementation in tailwind, no need to duplicate
85
- @for $i from $start through $end {
86
- .col-span-#{$i} {
87
- @include span($i);
88
- }
89
- }
90
-
91
- @each $size in ('md', 'lg') {
92
- @include breakpoint($size) {
93
- .#{$size}\: {
94
- @for $i from $start through $end {
95
- // column spans
96
- &col-span-#{$i} {
97
- @include span($i);
98
- }
99
-
100
- // column order
101
- &order-#{$i} {
102
- order: $i;
103
- }
104
- }
105
-
106
- // grid columns
107
- // different from tailwinds' `repeat(i, minmax(0, 1fr));`
108
- @each $i in $grid-columns {
109
- &ll-grid-cols-#{$i},
110
- &grid-cols-#{$i} {
111
- grid-template-columns: repeat(#{$i}, 1fr);
112
- }
113
- }
114
- }
115
- }
116
- }
117
-
118
- @for $i from $start through $end {
119
- .col-start-#{$i} {
120
- grid-column-start: $i;
121
- }
122
- }
123
-
124
- @each $size in ('md', 'lg') {
125
- @include breakpoint($size) {
126
- .#{$size}\: {
127
- @for $i from $start through $end {
128
- // column offsets
129
- &col-start-#{$i} {
130
- grid-column-start: $i;
131
- }
132
- }
133
- }
134
- }
135
- }
136
-
137
-
138
- @for $i from $start through $end {
139
- .col-end-#{$i} {
140
- grid-column-end: $i;
141
- }
142
- }
143
-
144
- @each $size in ('md', 'lg') {
145
- @include breakpoint($size) {
146
- .#{$size}\: {
147
- @for $i from $start through $end {
148
- &col-end-#{$i} {
149
- grid-column-end: $i;
150
- }
151
- }
152
- }
153
- }
154
- }
155
-
156
- /* ---------------------------------------
157
- Flex
158
- ---------------------------------------- */
159
-
160
- // Opinionated flex utility classes.
161
- // Assumes horizontal flex only (ie `flex-direction: row` is implicit)
162
- .flex { display: flex; }
163
- .flex-wrap { flex-wrap: wrap; }
164
- .flex-initial { flex: 0 1 auto; }
165
- .flex-1 { flex: 1 1 0%; }
166
- .flex-auto { flex: 1 1 auto; }
167
- .flex-none { flex: none; }
168
- .flex-col { flex-direction: column; }
169
-
170
- //horizontal
171
- .align-center { justify-content: center; }
172
- .align-right { justify-content: flex-end; }
173
- .align-spaced { justify-content: space-around; }
174
- .align-justify { justify-content: space-between; }
175
-
176
- // vertical
177
- .align-top { align-items: flex-start; }
178
- .align-bottom { align-items: flex-end; }
179
- .align-middle { align-items: center; }
180
-
181
- // align self
182
- .align-self-start { align-self: flex-start; }
183
- .align-self-end { align-self: flex-end; }
184
- .align-self-center { align-self: center; }
185
- .align-self-baseline { align-self: baseline; }
186
- .align-self-auto { align-self: auto; }
187
- .align-self-stretch { align-self: stretch; }
188
-
189
-
190
- /* ---------------------------------------
191
- Container
192
- ---------------------------------------- */
193
-
194
- .container {
195
- margin: 0 auto;
196
- max-width: $container-width;
197
- padding: 0 var(--grid-gutter);
198
- position: relative;
199
- width: 100%;
200
- }
@@ -1,31 +0,0 @@
1
- /**
2
-
3
- Base icon styles.
4
-
5
- ◡◠ ✥ ◠◡
6
-
7
- Table of Contents:
8
-
9
- • General
10
-
11
- */
12
-
13
-
14
- /* ---------------------------------------
15
- General
16
- ---------------------------------------- */
17
-
18
- // DEPRECATED
19
- // Always use the `Icon` component, where the styles are built in.
20
- .icon {
21
- display: inline-block;
22
- fill: currentColor;
23
- height: icon('default', 'height');
24
- vertical-align: middle;
25
- width: icon('default', 'height');
26
-
27
- &--small {
28
- height: icon('small', 'height');
29
- width: icon('small', 'height');
30
- }
31
- }
@@ -1,110 +0,0 @@
1
- /**
2
-
3
- Transitions: scale, slides, fades
4
-
5
- ◡◠ ✥ ◠◡
6
-
7
- Table of Contents:
8
-
9
- • Global
10
- • Vue
11
-
12
- */
13
-
14
- /* ---------------------------------------
15
- Global
16
- ---------------------------------------- */
17
- // ...
18
-
19
- /* ---------------------------------------
20
- Vue-specific
21
- ---------------------------------------- */
22
-
23
- .scale {
24
- &-enter-active,
25
- &-leave-active {
26
- transition: $secondary-transition;
27
- }
28
-
29
- &-enter-from,
30
- &-leave-from,
31
- &-leave-to {
32
- opacity: 0;
33
- transform: scale(0);
34
- }
35
- }
36
-
37
- .slide-y {
38
- &-enter-active,
39
- &-leave-active {
40
- transition: $primary-transition;
41
- }
42
-
43
- &-enter-from,
44
- &-leave-to {
45
- opacity: 0;
46
- transform: translateY(-0.875rem);
47
- }
48
- }
49
-
50
- .slide-x {
51
- &-enter-active,
52
- &-leave-active {
53
- transition: $primary-transition;
54
- }
55
-
56
- &-enter-from,
57
- &-leave-to {
58
- opacity: 0;
59
- transform: translateX(-0.875rem);
60
- }
61
- }
62
-
63
- .fade {
64
- &-enter-active,
65
- &-leave-active {
66
- transition: opacity $primary-transition;
67
- }
68
-
69
- &-enter-from,
70
- &-leave-to {
71
- opacity: 0;
72
- }
73
-
74
- &-enter-to {
75
- opacity: 1;
76
- }
77
- }
78
-
79
- .expand {
80
- $delay: map-get($transition-durations, 'fast');
81
-
82
- &-enter-active,
83
- &-leave-active {
84
- transition:
85
- height $secondary-transition,
86
- opacity map-get($transition-durations, 'slow') $delay,
87
- transform map-get($transition-durations, 'slow') $delay;
88
- }
89
-
90
- &-enter-from,
91
- &-leave-to {
92
- height: 0;
93
- opacity: 0;
94
- transform: translateY(-0.875rem);
95
- transition-delay: 0s;
96
- }
97
-
98
- &-leave-from,
99
- &-enter-to {
100
- height: auto;
101
- opacity: 1;
102
- transform: translateY(0);
103
- }
104
- }
105
-
106
- .move {
107
- &-move {
108
- transition: transform $primary-transition;
109
- }
110
- }