bootstrap-rn 0.2.14 → 0.3.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/dist/bootstrap-rn.cjs.js +320 -503
- package/dist/bootstrap-rn.esm.js +320 -503
- package/dist/bootstrap-rn.umd.js +324 -506
- package/dist/bootstrap-rn.umd.min.js +3 -3
- package/package.json +3 -3
package/dist/bootstrap-rn.umd.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-native')
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-native'
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["bootstrap-rn"] = {}, global.React, global.ReactNative
|
|
5
|
-
})(this, (function (exports, React, reactNative
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-native')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-native'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["bootstrap-rn"] = {}, global.React, global.ReactNative));
|
|
5
|
+
})(this, (function (exports, React, reactNative) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -3512,27 +3512,26 @@
|
|
|
3512
3512
|
|
|
3513
3513
|
const utilities = {
|
|
3514
3514
|
align: {
|
|
3515
|
-
property: '
|
|
3515
|
+
property: 'vertical-align',
|
|
3516
3516
|
class: 'align',
|
|
3517
3517
|
values: {
|
|
3518
3518
|
// baseline: 'baseline',
|
|
3519
3519
|
top: 'top',
|
|
3520
|
-
|
|
3521
|
-
// 'middle',
|
|
3520
|
+
middle: 'middle',
|
|
3522
3521
|
bottom: 'bottom'
|
|
3523
3522
|
// 'text-bottom': 'text-bottom',
|
|
3524
3523
|
// 'text-top': 'text-top',
|
|
3525
3524
|
}
|
|
3526
3525
|
},
|
|
3527
3526
|
|
|
3528
|
-
/* float: {
|
|
3529
|
-
responsive: true,
|
|
3530
|
-
property: 'float',
|
|
3531
|
-
values: {
|
|
3532
|
-
start: 'left',
|
|
3533
|
-
end: 'right',
|
|
3534
|
-
none: 'none',
|
|
3535
|
-
},
|
|
3527
|
+
/* float: {
|
|
3528
|
+
responsive: true,
|
|
3529
|
+
property: 'float',
|
|
3530
|
+
values: {
|
|
3531
|
+
start: 'left',
|
|
3532
|
+
end: 'right',
|
|
3533
|
+
none: 'none',
|
|
3534
|
+
},
|
|
3536
3535
|
}, */
|
|
3537
3536
|
// Opacity utilities
|
|
3538
3537
|
opacity: {
|
|
@@ -3611,14 +3610,14 @@
|
|
|
3611
3610
|
class: 'end',
|
|
3612
3611
|
values: POSITION_VALUES
|
|
3613
3612
|
},
|
|
3614
|
-
/* translateMiddle: {
|
|
3615
|
-
property: 'transform',
|
|
3616
|
-
class: 'translate-middle',
|
|
3617
|
-
values: {
|
|
3618
|
-
null: translate(-50%, -50%),
|
|
3619
|
-
x: translateX(-50%),
|
|
3620
|
-
y: translateY(-50%),
|
|
3621
|
-
},
|
|
3613
|
+
/* translateMiddle: {
|
|
3614
|
+
property: 'transform',
|
|
3615
|
+
class: 'translate-middle',
|
|
3616
|
+
values: {
|
|
3617
|
+
null: translate(-50%, -50%),
|
|
3618
|
+
x: translateX(-50%),
|
|
3619
|
+
y: translateY(-50%),
|
|
3620
|
+
},
|
|
3622
3621
|
}, */
|
|
3623
3622
|
border: {
|
|
3624
3623
|
property: 'border',
|
|
@@ -3628,35 +3627,35 @@
|
|
|
3628
3627
|
}
|
|
3629
3628
|
},
|
|
3630
3629
|
// TODO: Find a way to write border-top as border-top-width, ...
|
|
3631
|
-
/* borderTop: {
|
|
3632
|
-
property: 'border-top',
|
|
3633
|
-
values: {
|
|
3634
|
-
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3635
|
-
0: '0',
|
|
3636
|
-
},
|
|
3630
|
+
/* borderTop: {
|
|
3631
|
+
property: 'border-top',
|
|
3632
|
+
values: {
|
|
3633
|
+
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3634
|
+
0: '0',
|
|
3635
|
+
},
|
|
3637
3636
|
}, */
|
|
3638
|
-
/* borderRight: {
|
|
3639
|
-
property: 'border-right',
|
|
3640
|
-
class: 'border-end',
|
|
3641
|
-
values: {
|
|
3642
|
-
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3643
|
-
0: '0',
|
|
3644
|
-
},
|
|
3637
|
+
/* borderRight: {
|
|
3638
|
+
property: 'border-right',
|
|
3639
|
+
class: 'border-end',
|
|
3640
|
+
values: {
|
|
3641
|
+
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3642
|
+
0: '0',
|
|
3643
|
+
},
|
|
3645
3644
|
}, */
|
|
3646
|
-
/* borderBottom: {
|
|
3647
|
-
property: 'border-bottom',
|
|
3648
|
-
values: {
|
|
3649
|
-
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3650
|
-
0: '0',
|
|
3651
|
-
},
|
|
3645
|
+
/* borderBottom: {
|
|
3646
|
+
property: 'border-bottom',
|
|
3647
|
+
values: {
|
|
3648
|
+
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3649
|
+
0: '0',
|
|
3650
|
+
},
|
|
3652
3651
|
}, */
|
|
3653
|
-
/* borderLeft: {
|
|
3654
|
-
property: 'border-left',
|
|
3655
|
-
class: 'border-start',
|
|
3656
|
-
values: {
|
|
3657
|
-
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3658
|
-
0: '0',
|
|
3659
|
-
},
|
|
3652
|
+
/* borderLeft: {
|
|
3653
|
+
property: 'border-left',
|
|
3654
|
+
class: 'border-start',
|
|
3655
|
+
values: {
|
|
3656
|
+
null: (t) => `${t['border-width']} solid ${t['border-color']}`,
|
|
3657
|
+
0: '0',
|
|
3658
|
+
},
|
|
3660
3659
|
}, */
|
|
3661
3660
|
borderColor: {
|
|
3662
3661
|
property: 'border-color',
|
|
@@ -3785,11 +3784,11 @@
|
|
|
3785
3784
|
'wrap-reverse': 'wrap-reverse'
|
|
3786
3785
|
}
|
|
3787
3786
|
},
|
|
3788
|
-
/* gap: {
|
|
3789
|
-
responsive: true,
|
|
3790
|
-
property: 'gap',
|
|
3791
|
-
class: 'gap',
|
|
3792
|
-
values: SPACERS,
|
|
3787
|
+
/* gap: {
|
|
3788
|
+
responsive: true,
|
|
3789
|
+
property: 'gap',
|
|
3790
|
+
class: 'gap',
|
|
3791
|
+
values: SPACERS,
|
|
3793
3792
|
}, */
|
|
3794
3793
|
justifyContent: {
|
|
3795
3794
|
responsive: true,
|
|
@@ -3839,19 +3838,19 @@
|
|
|
3839
3838
|
stretch: 'stretch'
|
|
3840
3839
|
}
|
|
3841
3840
|
},
|
|
3842
|
-
/* order: {
|
|
3843
|
-
responsive: true,
|
|
3844
|
-
property: 'order',
|
|
3845
|
-
values: {
|
|
3846
|
-
first: '-1',
|
|
3847
|
-
0: '0',
|
|
3848
|
-
1: '1',
|
|
3849
|
-
2: '2',
|
|
3850
|
-
3: '3',
|
|
3851
|
-
4: '4',
|
|
3852
|
-
5: '5',
|
|
3853
|
-
last: '6',
|
|
3854
|
-
},
|
|
3841
|
+
/* order: {
|
|
3842
|
+
responsive: true,
|
|
3843
|
+
property: 'order',
|
|
3844
|
+
values: {
|
|
3845
|
+
first: '-1',
|
|
3846
|
+
0: '0',
|
|
3847
|
+
1: '1',
|
|
3848
|
+
2: '2',
|
|
3849
|
+
3: '3',
|
|
3850
|
+
4: '4',
|
|
3851
|
+
5: '5',
|
|
3852
|
+
last: '6',
|
|
3853
|
+
},
|
|
3855
3854
|
}, */
|
|
3856
3855
|
// Margin utilities
|
|
3857
3856
|
margin: {
|
|
@@ -4069,21 +4068,21 @@
|
|
|
4069
4068
|
capitalize: 'capitalize'
|
|
4070
4069
|
}
|
|
4071
4070
|
},
|
|
4072
|
-
/* whiteSpace: {
|
|
4073
|
-
property: 'white-space',
|
|
4074
|
-
class: 'text',
|
|
4075
|
-
values: {
|
|
4076
|
-
wrap: 'normal',
|
|
4077
|
-
nowrap: 'nowrap',
|
|
4078
|
-
},
|
|
4071
|
+
/* whiteSpace: {
|
|
4072
|
+
property: 'white-space',
|
|
4073
|
+
class: 'text',
|
|
4074
|
+
values: {
|
|
4075
|
+
wrap: 'normal',
|
|
4076
|
+
nowrap: 'nowrap',
|
|
4077
|
+
},
|
|
4079
4078
|
}, */
|
|
4080
|
-
/* wordWrap: {
|
|
4081
|
-
property: ['word-wrap', 'word-break'],
|
|
4082
|
-
class: 'text',
|
|
4083
|
-
values: {
|
|
4084
|
-
break: 'break-word',
|
|
4085
|
-
},
|
|
4086
|
-
rtl: false,
|
|
4079
|
+
/* wordWrap: {
|
|
4080
|
+
property: ['word-wrap', 'word-break'],
|
|
4081
|
+
class: 'text',
|
|
4082
|
+
values: {
|
|
4083
|
+
break: 'break-word',
|
|
4084
|
+
},
|
|
4085
|
+
rtl: false,
|
|
4087
4086
|
}, */
|
|
4088
4087
|
color: {
|
|
4089
4088
|
property: 'color',
|
|
@@ -4126,28 +4125,28 @@
|
|
|
4126
4125
|
100: '1'
|
|
4127
4126
|
}
|
|
4128
4127
|
},
|
|
4129
|
-
/* gradient: {
|
|
4130
|
-
property: 'background-image',
|
|
4131
|
-
class: 'bg',
|
|
4132
|
-
values: {
|
|
4133
|
-
gradient: 'var(--#{$variable-prefix}gradient))',
|
|
4134
|
-
},
|
|
4128
|
+
/* gradient: {
|
|
4129
|
+
property: 'background-image',
|
|
4130
|
+
class: 'bg',
|
|
4131
|
+
values: {
|
|
4132
|
+
gradient: 'var(--#{$variable-prefix}gradient))',
|
|
4133
|
+
},
|
|
4135
4134
|
}, */
|
|
4136
|
-
/* userSelect: {
|
|
4137
|
-
property: 'user-select',
|
|
4138
|
-
values: {
|
|
4139
|
-
all: 'all',
|
|
4140
|
-
auto: 'auto',
|
|
4141
|
-
none: 'none',
|
|
4142
|
-
},
|
|
4135
|
+
/* userSelect: {
|
|
4136
|
+
property: 'user-select',
|
|
4137
|
+
values: {
|
|
4138
|
+
all: 'all',
|
|
4139
|
+
auto: 'auto',
|
|
4140
|
+
none: 'none',
|
|
4141
|
+
},
|
|
4143
4142
|
}, */
|
|
4144
|
-
/* pointerEvents: {
|
|
4145
|
-
property: 'pointer-events',
|
|
4146
|
-
class: 'pe',
|
|
4147
|
-
values: {
|
|
4148
|
-
none: 'none',
|
|
4149
|
-
auto: 'auto',
|
|
4150
|
-
},
|
|
4143
|
+
/* pointerEvents: {
|
|
4144
|
+
property: 'pointer-events',
|
|
4145
|
+
class: 'pe',
|
|
4146
|
+
values: {
|
|
4147
|
+
none: 'none',
|
|
4148
|
+
auto: 'auto',
|
|
4149
|
+
},
|
|
4151
4150
|
}, */
|
|
4152
4151
|
rounded: {
|
|
4153
4152
|
property: 'border-radius',
|
|
@@ -4164,41 +4163,41 @@
|
|
|
4164
4163
|
}
|
|
4165
4164
|
}
|
|
4166
4165
|
// TODO: Support multiple properties for rounded-* utilities.
|
|
4167
|
-
/* roundedTop: {
|
|
4168
|
-
property: ['border-top-left-radius', 'border-top-right-radius'],
|
|
4169
|
-
class: 'rounded-top',
|
|
4170
|
-
values: {
|
|
4171
|
-
null: (t) => t['border-radius'],
|
|
4172
|
-
},
|
|
4166
|
+
/* roundedTop: {
|
|
4167
|
+
property: ['border-top-left-radius', 'border-top-right-radius'],
|
|
4168
|
+
class: 'rounded-top',
|
|
4169
|
+
values: {
|
|
4170
|
+
null: (t) => t['border-radius'],
|
|
4171
|
+
},
|
|
4173
4172
|
}, */
|
|
4174
|
-
/* roundedEnd: {
|
|
4175
|
-
property: ['border-top-right-radius', 'border-bottom-right-radius'],
|
|
4176
|
-
class: 'rounded-end',
|
|
4177
|
-
values: {
|
|
4178
|
-
null: (t) => t['border-radius'],
|
|
4179
|
-
},
|
|
4173
|
+
/* roundedEnd: {
|
|
4174
|
+
property: ['border-top-right-radius', 'border-bottom-right-radius'],
|
|
4175
|
+
class: 'rounded-end',
|
|
4176
|
+
values: {
|
|
4177
|
+
null: (t) => t['border-radius'],
|
|
4178
|
+
},
|
|
4180
4179
|
}, */
|
|
4181
|
-
/* roundedBottom: {
|
|
4182
|
-
property: ['border-bottom-right-radius', 'border-bottom-left-radius'],
|
|
4183
|
-
class: 'rounded-bottom',
|
|
4184
|
-
values: {
|
|
4185
|
-
null: (t) => t['border-radius'],
|
|
4186
|
-
},
|
|
4180
|
+
/* roundedBottom: {
|
|
4181
|
+
property: ['border-bottom-right-radius', 'border-bottom-left-radius'],
|
|
4182
|
+
class: 'rounded-bottom',
|
|
4183
|
+
values: {
|
|
4184
|
+
null: (t) => t['border-radius'],
|
|
4185
|
+
},
|
|
4187
4186
|
}, */
|
|
4188
|
-
/* roundedStart: {
|
|
4189
|
-
property: ['border-bottom-left-radius', 'border-top-left-radius'],
|
|
4190
|
-
class: 'rounded-start',
|
|
4191
|
-
values: {
|
|
4192
|
-
null: (t) => t['border-radius'],
|
|
4193
|
-
},
|
|
4187
|
+
/* roundedStart: {
|
|
4188
|
+
property: ['border-bottom-left-radius', 'border-top-left-radius'],
|
|
4189
|
+
class: 'rounded-start',
|
|
4190
|
+
values: {
|
|
4191
|
+
null: (t) => t['border-radius'],
|
|
4192
|
+
},
|
|
4194
4193
|
}, */
|
|
4195
|
-
/* visibility: {
|
|
4196
|
-
property: 'visibility',
|
|
4197
|
-
class: 'null',
|
|
4198
|
-
values: {
|
|
4199
|
-
visible: 'visible',
|
|
4200
|
-
invisible: 'hidden',
|
|
4201
|
-
},
|
|
4194
|
+
/* visibility: {
|
|
4195
|
+
property: 'visibility',
|
|
4196
|
+
class: 'null',
|
|
4197
|
+
values: {
|
|
4198
|
+
visible: 'visible',
|
|
4199
|
+
invisible: 'hidden',
|
|
4200
|
+
},
|
|
4202
4201
|
}, */
|
|
4203
4202
|
};
|
|
4204
4203
|
|
|
@@ -4371,7 +4370,7 @@
|
|
|
4371
4370
|
|
|
4372
4371
|
var _templateObject$1e;
|
|
4373
4372
|
const url = val => t => "url(\"".concat(val.replace(/#{\$(.*?)}/g, (_, key) => t[key]), "\")");
|
|
4374
|
-
const variables = css(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteral(["\n // Color system\n\n $white: #fff;\n $gray-100: #f8f9fa;\n $gray-200: #e9ecef;\n $gray-300: #dee2e6;\n $gray-400: #ced4da;\n $gray-500: #adb5bd;\n $gray-600: #6c757d;\n $gray-700: #495057;\n $gray-800: #343a40;\n $gray-900: #212529;\n $black: #000;\n\n $grays: ", ";\n\n $blue: #0d6efd;\n $indigo: #6610f2;\n $purple: #6f42c1;\n $pink: #d63384;\n $red: #dc3545;\n $orange: #fd7e14;\n $yellow: #ffc107;\n $green: #198754;\n $teal: #20c997;\n $cyan: #0dcaf0;\n\n $colors: ", ";\n\n $primary: $blue;\n $secondary: $gray-600;\n $success: $green;\n $info: $cyan;\n $warning: $yellow;\n $danger: $red;\n $light: $gray-100;\n $dark: $gray-900;\n\n $theme-colors: ", ";\n\n // The contrast ratio to reach against white, to determine if color changes from \"light\" to \"dark\". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.\n // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast\n $min-contrast-ratio: 4.5;\n\n // Customize the light and dark text colors for use in our color contrast function.\n $color-contrast-dark: $black;\n $color-contrast-light: $white;\n\n $blue-100: tint-color($blue, 80%);\n $blue-200: tint-color($blue, 60%);\n $blue-300: tint-color($blue, 40%);\n $blue-400: tint-color($blue, 20%);\n $blue-500: $blue;\n $blue-600: shade-color($blue, 20%);\n $blue-700: shade-color($blue, 40%);\n $blue-800: shade-color($blue, 60%);\n $blue-900: shade-color($blue, 80%);\n\n $indigo-100: tint-color($indigo, 80%);\n $indigo-200: tint-color($indigo, 60%);\n $indigo-300: tint-color($indigo, 40%);\n $indigo-400: tint-color($indigo, 20%);\n $indigo-500: $indigo;\n $indigo-600: shade-color($indigo, 20%);\n $indigo-700: shade-color($indigo, 40%);\n $indigo-800: shade-color($indigo, 60%);\n $indigo-900: shade-color($indigo, 80%);\n\n $purple-100: tint-color($purple, 80%);\n $purple-200: tint-color($purple, 60%);\n $purple-300: tint-color($purple, 40%);\n $purple-400: tint-color($purple, 20%);\n $purple-500: $purple;\n $purple-600: shade-color($purple, 20%);\n $purple-700: shade-color($purple, 40%);\n $purple-800: shade-color($purple, 60%);\n $purple-900: shade-color($purple, 80%);\n\n $pink-100: tint-color($pink, 80%);\n $pink-200: tint-color($pink, 60%);\n $pink-300: tint-color($pink, 40%);\n $pink-400: tint-color($pink, 20%);\n $pink-500: $pink;\n $pink-600: shade-color($pink, 20%);\n $pink-700: shade-color($pink, 40%);\n $pink-800: shade-color($pink, 60%);\n $pink-900: shade-color($pink, 80%);\n\n $red-100: tint-color($red, 80%);\n $red-200: tint-color($red, 60%);\n $red-300: tint-color($red, 40%);\n $red-400: tint-color($red, 20%);\n $red-500: $red;\n $red-600: shade-color($red, 20%);\n $red-700: shade-color($red, 40%);\n $red-800: shade-color($red, 60%);\n $red-900: shade-color($red, 80%);\n\n $orange-100: tint-color($orange, 80%);\n $orange-200: tint-color($orange, 60%);\n $orange-300: tint-color($orange, 40%);\n $orange-400: tint-color($orange, 20%);\n $orange-500: $orange;\n $orange-600: shade-color($orange, 20%);\n $orange-700: shade-color($orange, 40%);\n $orange-800: shade-color($orange, 60%);\n $orange-900: shade-color($orange, 80%);\n\n $yellow-100: tint-color($yellow, 80%);\n $yellow-200: tint-color($yellow, 60%);\n $yellow-300: tint-color($yellow, 40%);\n $yellow-400: tint-color($yellow, 20%);\n $yellow-500: $yellow;\n $yellow-600: shade-color($yellow, 20%);\n $yellow-700: shade-color($yellow, 40%);\n $yellow-800: shade-color($yellow, 60%);\n $yellow-900: shade-color($yellow, 80%);\n\n $green-100: tint-color($green, 80%);\n $green-200: tint-color($green, 60%);\n $green-300: tint-color($green, 40%);\n $green-400: tint-color($green, 20%);\n $green-500: $green;\n $green-600: shade-color($green, 20%);\n $green-700: shade-color($green, 40%);\n $green-800: shade-color($green, 60%);\n $green-900: shade-color($green, 80%);\n\n $teal-100: tint-color($teal, 80%);\n $teal-200: tint-color($teal, 60%);\n $teal-300: tint-color($teal, 40%);\n $teal-400: tint-color($teal, 20%);\n $teal-500: $teal;\n $teal-600: shade-color($teal, 20%);\n $teal-700: shade-color($teal, 40%);\n $teal-800: shade-color($teal, 60%);\n $teal-900: shade-color($teal, 80%);\n\n $cyan-100: tint-color($cyan, 80%);\n $cyan-200: tint-color($cyan, 60%);\n $cyan-300: tint-color($cyan, 40%);\n $cyan-400: tint-color($cyan, 20%);\n $cyan-500: $cyan;\n $cyan-600: shade-color($cyan, 20%);\n $cyan-700: shade-color($cyan, 40%);\n $cyan-800: shade-color($cyan, 60%);\n $cyan-900: shade-color($cyan, 80%);\n\n $blues: ", ";\n\n $indigos: ", ";\n\n $purples: ", ";\n\n $pinks: ", ";\n\n $reds: ", ";\n\n $oranges: ", ";\n\n $yellows: ", ";\n\n $greens: ", ";\n\n $teals: ", ";\n\n $cyans: ", ";\n\n // Characters which are escaped by the escape-svg function\n // $escaped characters\n\n // Options\n //\n // Quickly modify global styling by enabling or disabling optional features.\n\n // NOTE: Handled by JavaScript.\n\n // Gradient\n //\n // The gradient which is added to components if \"$enable-gradients\" is \"true\"\n // This gradient is also added to elements with \".bg-gradient\"\n $gradient: linear-gradient(180deg, rgba($white, 0.15), rgba($white, 0));\n\n // Spacing\n //\n // Control the default styling of most Bootstrap elements by modifying these\n // variables. Mostly focused on spacing.\n // You can add more entries to the $spacers map, should you need more variation.\n\n $spacer: 1rem;\n $spacers: ", ";\n\n // Position\n //\n // Define the edge positioning anchors of the position utilities.\n\n $position-values: ", ";\n\n // Placeholder\n\n $placeholder-opacity-max: 0.5;\n $placeholder-opacity-min: 0.2;\n\n // Body\n //\n // Settings for the \"<body>\" element.\n\n $body-bg: $white;\n $body-color: $gray-900;\n $body-text-align: null;\n\n // Links\n //\n // Style anchor elements.\n\n $link-color: $primary;\n $link-decoration: underline;\n $link-shade-percentage: 20%;\n $link-hover-color: ", ";\n $link-hover-decoration: null;\n\n $stretched-link-pseudo-element: after;\n $stretched-link-z-index: 1;\n\n // Paragraphs\n //\n // Style p element.\n\n $paragraph-margin-bottom: 1rem;\n\n // Grid breakpoints\n //\n // Define the minimum dimensions at which your layout will change,\n // adapting to different screen sizes, for use in media queries.\n\n $grid-breakpoints: ", ";\n\n // Grid containers\n //\n // Define the maximum width of \".container\" for different screen sizes.\n\n $container-max-widths: ", ";\n\n // Grid columns\n //\n // Set the number of columns and specify the width of the gutters.\n\n // $grid-columns: 12;\n $grid-gutter-width: 1.5rem;\n // $grid-row-columns: 6;\n\n // Container padding\n\n $container-padding-x: $grid-gutter-width * 0.5;\n\n // Components\n //\n // Define common padding and border radius sizes and more.\n\n $border-width: 1px;\n $border-widths: ", ";\n\n $border-color: $gray-300;\n\n $border-radius: 0.25rem;\n $border-radius-sm: 0.2rem;\n $border-radius-lg: 0.3rem;\n $border-radius-pill: 50rem;\n\n $box-shadow: 0 0.5rem 1rem rgba($black, 0.15);\n $box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075);\n $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175);\n $box-shadow-inset: inset 0 1px 2px rgba($black, 0.075);\n\n $component-active-color: $white;\n $component-active-bg: $primary;\n\n $caret-width: 1rem * 0.3; // 0.3em;\n $caret-vertical-align: $caret-width * 0.85;\n $caret-spacing: $caret-width * 0.85;\n\n $transition-base: all 0.2s ease-in-out;\n $transition-fade: opacity 0.15s linear;\n $transition-collapse: height 0.35s ease;\n $transition-collapse-width: width 0.35s ease;\n\n $aspect-ratios: ", ";\n\n // Typography\n //\n // Font, line-height, and color for body text, headings, and more.\n\n $font-family-sans-serif: ", ";\n $font-family-monospace: ", ";\n $font-family-base: $font-family-sans-serif;\n $font-family-code: $font-family-monospace;\n\n // $font-size-root affects the value of \"rem\", which is used for as well font sizes, paddings, and margins\n // $font-size-base affects the font size of the body text\n $font-size-root: null;\n $font-size-base: 1rem; // Assumes the browser default, typically \"16px\"\n $font-size-sm: $font-size-base * 0.875;\n $font-size-lg: $font-size-base * 1.25;\n\n $font-weight-lighter: 300; // lighter;\n $font-weight-light: 300;\n $font-weight-normal: 400;\n $font-weight-bold: 700;\n $font-weight-bolder: 500; // bolder;\n\n $font-weight-base: $font-weight-normal;\n\n $line-height-base: 1.5;\n $line-height-sm: 1.25;\n $line-height-lg: 2;\n\n $h1-font-size: $font-size-base * 2.5;\n $h2-font-size: $font-size-base * 2;\n $h3-font-size: $font-size-base * 1.75;\n $h4-font-size: $font-size-base * 1.5;\n $h5-font-size: $font-size-base * 1.25;\n $h6-font-size: $font-size-base;\n\n $font-sizes: ", ";\n\n $headings-margin-bottom: $spacer * 0.5;\n $headings-font-family: null;\n $headings-font-style: null;\n $headings-font-weight: 500;\n $headings-line-height: 1.2;\n $headings-color: null;\n\n $display-font-sizes: ", ";\n\n $display-font-weight: 300;\n $display-line-height: $headings-line-height;\n\n $lead-font-size: $font-size-base * 1.25;\n $lead-font-weight: 300;\n\n $small-font-size: $font-size-base * 0.875; // 0.875em;\n\n $sub-sup-font-size: $font-size-base * 0.75; // 0.75em;\n\n $text-muted: $gray-600;\n\n $initialism-font-size: $small-font-size;\n\n $blockquote-margin-y: $spacer;\n $blockquote-font-size: $font-size-base * 1.25;\n $blockquote-footer-color: $gray-600;\n $blockquote-footer-font-size: $small-font-size;\n\n $hr-margin-y: $spacer;\n $hr-color: inherit;\n $hr-bg-color: currentColor;\n $hr-border-width: 0;\n $hr-height: $border-width;\n $hr-opacity: 0.25;\n\n $legend-margin-bottom: 0.5rem;\n $legend-font-size: 1.5rem;\n $legend-font-weight: null;\n\n $mark-padding: $font-size-base * 0.2; // 0.2em;\n\n $dt-font-weight: $font-weight-bold;\n\n $nested-kbd-font-weight: $font-weight-bold;\n\n $list-inline-padding: 0.5rem;\n\n $mark-bg: #fcf8e3;\n\n // ...\n\n // Buttons + Forms\n //\n // Shared variables that are reassigned to \"$input-\" and \"$btn-\" specific variables.\n\n $input-btn-padding-y: 0.375rem;\n $input-btn-padding-x: 0.75rem;\n $input-btn-font-family: null;\n $input-btn-font-size: $font-size-base;\n $input-btn-line-height: $line-height-base;\n\n $input-btn-focus-width: 0.25rem;\n $input-btn-focus-color-opacity: 0.25;\n $input-btn-focus-color: rgba(\n $component-active-bg,\n $input-btn-focus-color-opacity\n );\n $input-btn-focus-blur: 0;\n $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width\n $input-btn-focus-color;\n\n $input-btn-padding-y-sm: 0.25rem;\n $input-btn-padding-x-sm: 0.5rem;\n $input-btn-font-size-sm: $font-size-sm;\n\n $input-btn-padding-y-lg: 0.5rem;\n $input-btn-padding-x-lg: 1rem;\n $input-btn-font-size-lg: $font-size-lg;\n\n $input-btn-border-width: $border-width;\n\n // Buttons\n //\n // For each of Bootstrap's buttons, define text, background, and border color.\n\n $btn-padding-y: $input-btn-padding-y;\n $btn-padding-x: $input-btn-padding-x;\n $btn-font-family: $input-btn-font-family;\n $btn-font-size: $input-btn-font-size;\n $btn-line-height: $input-btn-line-height;\n $btn-white-space: null; // Set to \"nowrap\" to prevent text wrapping\n\n $btn-padding-y-sm: $input-btn-padding-y-sm;\n $btn-padding-x-sm: $input-btn-padding-x-sm;\n $btn-font-size-sm: $input-btn-font-size-sm;\n\n $btn-padding-y-lg: $input-btn-padding-y-lg;\n $btn-padding-x-lg: $input-btn-padding-x-lg;\n $btn-font-size-lg: $input-btn-font-size-lg;\n\n $btn-border-width: $input-btn-border-width;\n\n $btn-font-weight: $font-weight-normal;\n $btn-box-shadow: inset 0 1px 0 rgba($white, 0.15),\n 0 1px 1px rgba($black, 0.075);\n $btn-focus-width: $input-btn-focus-width;\n $btn-focus-box-shadow: $input-btn-focus-box-shadow;\n $btn-disabled-opacity: 0.65;\n $btn-active-box-shadow: inset 0 3px 5px rgba($black, 0.125);\n\n $btn-link-color: $link-color;\n $btn-link-hover-color: $link-hover-color;\n $btn-link-disabled-color: $gray-600;\n\n // Allows for customizing button radius independently from global border radius\n $btn-border-radius: $border-radius;\n $btn-border-radius-sm: $border-radius-sm;\n $btn-border-radius-lg: $border-radius-lg;\n\n $btn-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,\n border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n\n $btn-hover-bg-shade-amount: 15%;\n $btn-hover-bg-tint-amount: 15%;\n $btn-hover-border-shade-amount: 20%;\n $btn-hover-border-tint-amount: 10%;\n $btn-active-bg-shade-amount: 20%;\n $btn-active-bg-tint-amount: 20%;\n $btn-active-border-shade-amount: 25%;\n $btn-active-border-tint-amount: 10%;\n\n // Breadcrumb\n\n $breadcrumb-font-size: $font-size-base; // null;\n $breadcrumb-padding-y: 0;\n $breadcrumb-padding-x: 0;\n $breadcrumb-item-padding-x: 0.5rem;\n $breadcrumb-margin-bottom: 1rem;\n $breadcrumb-bg: null;\n $breadcrumb-divider-color: $gray-600;\n $breadcrumb-active-color: $gray-600;\n $breadcrumb-divider: ", "; // quote('/');\n $breadcrumb-divider-flipped: $breadcrumb-divider;\n $breadcrumb-border-radius: null;\n\n // Forms\n\n $form-text-margin-top: 0.25rem;\n $form-text-font-size: $small-font-size;\n $form-text-font-style: null;\n $form-text-font-weight: null;\n $form-text-color: $text-muted;\n\n $form-label-margin-bottom: 0.5rem;\n $form-label-font-size: $font-size-base; // null;\n $form-label-font-style: null;\n $form-label-font-weight: null;\n $form-label-color: null;\n\n $input-padding-y: $input-btn-padding-y;\n $input-padding-x: $input-btn-padding-x;\n $input-font-family: $input-btn-font-family;\n $input-font-size: $input-btn-font-size;\n $input-font-weight: $font-weight-base;\n $input-line-height: $input-btn-line-height;\n\n $input-padding-y-sm: $input-btn-padding-y-sm;\n $input-padding-x-sm: $input-btn-padding-x-sm;\n $input-font-size-sm: $input-btn-font-size-sm;\n\n $input-padding-y-lg: $input-btn-padding-y-lg;\n $input-padding-x-lg: $input-btn-padding-x-lg;\n $input-font-size-lg: $input-btn-font-size-lg;\n\n $input-bg: $body-bg;\n $input-disabled-bg: $gray-200;\n $input-disabled-border-color: null;\n\n $input-color: $body-color;\n $input-border-color: $gray-400;\n $input-border-width: $input-btn-border-width;\n $input-box-shadow: $box-shadow-inset;\n\n $input-border-radius: $border-radius;\n $input-border-radius-sm: $border-radius-sm;\n $input-border-radius-lg: $border-radius-lg;\n\n $input-focus-bg: $input-bg;\n $input-focus-border-color: ", ";\n $input-focus-color: $input-color;\n $input-focus-width: $input-btn-focus-width;\n $input-focus-box-shadow: $input-btn-focus-box-shadow;\n\n $input-placeholder-color: $gray-600;\n $input-plaintext-color: $body-color;\n\n $input-height-border: $input-border-width * 2;\n\n $input-height-inner: ", ";\n $input-height-inner-half: ", ";\n $input-height-inner-quarter: ", ";\n\n $input-height: ", ";\n $input-height-sm: ", ";\n $input-height-lg: ", ";\n\n $input-transition: border-color 0.15s ease-in-out,\n box-shadow 0.15s ease-in-out;\n\n $form-color-width: 3rem;\n\n $form-check-input-width: $font-size-base * 1; // 1em;\n $form-check-min-height: $font-size-base * $line-height-base;\n $form-check-padding-start: $form-check-input-width + 0.5rem; // 0.5em;\n $form-check-margin-bottom: 0.125rem;\n $form-check-label-color: null;\n $form-check-label-cursor: null;\n $form-check-transition: null;\n\n $form-check-input-active-filter: brightness(90%);\n\n $form-check-input-bg: $input-bg;\n $form-check-input-border: 1px solid rgba($black, 0.25);\n $form-check-input-border-radius: $font-size-base * 0.25; // 0.25em;\n $form-check-radio-border-radius: 50%;\n $form-check-input-focus-border: $input-focus-border-color;\n $form-check-input-focus-box-shadow: $input-btn-focus-box-shadow;\n\n $form-check-input-checked-color: $component-active-color;\n $form-check-input-checked-bg-color: $component-active-bg;\n $form-check-input-checked-border-color: $form-check-input-checked-bg-color;\n $form-check-input-checked-bg-image: ", ";\n $form-check-radio-checked-bg-image: ", ";\n\n $form-check-input-indeterminate-color: $component-active-color;\n $form-check-input-indeterminate-bg-color: $component-active-bg;\n $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color;\n $form-check-input-indeterminate-bg-image: ", ";\n\n $form-check-input-disabled-opacity: 0.5;\n $form-check-label-disabled-opacity: $form-check-input-disabled-opacity;\n $form-check-btn-check-disabled-opacity: $btn-disabled-opacity;\n\n $form-check-inline-margin-end: 1rem;\n\n $form-switch-color: rgba($black, 0.25);\n $form-switch-width: 2rem;\n $form-switch-padding-start: $form-switch-width + 0.5rem;\n $form-switch-bg-image: ", ";\n $form-switch-border-radius: $form-switch-width;\n $form-switch-transition: background-position 0.15s ease-in-out;\n\n $form-switch-focus-color: $input-focus-border-color;\n $form-switch-focus-bg-image: ", ";\n\n $form-switch-checked-color: $component-active-color;\n $form-switch-checked-bg-image: ", ";\n $form-switch-checked-bg-position: right center;\n\n $input-group-addon-padding-y: $input-padding-y;\n $input-group-addon-padding-x: $input-padding-x;\n $input-group-addon-font-weight: $input-font-weight;\n $input-group-addon-color: $input-color;\n $input-group-addon-bg: $gray-200;\n $input-group-addon-border-color: $input-border-color;\n\n $form-select-padding-y: $input-padding-y;\n $form-select-padding-x: $input-padding-x;\n $form-select-font-family: $input-font-family;\n $form-select-font-size: $input-font-size;\n $form-select-indicator-padding: $form-select-padding-x * 3; // Extra padding for background-image\n $form-select-font-weight: $input-font-weight;\n $form-select-line-height: $input-line-height;\n $form-select-color: $input-color;\n $form-select-bg: $input-bg;\n $form-select-disabled-color: null;\n $form-select-disabled-bg: $gray-200;\n $form-select-disabled-border-color: $input-disabled-border-color;\n $form-select-bg-position: right $form-select-padding-x center;\n $form-select-bg-size: 16px 12px; // In pixels because image dimensions\n $form-select-indicator-color: $gray-800;\n $form-select-indicator: ", ";\n\n $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 +\n $form-select-indicator-padding;\n $form-select-feedback-icon-position: center right\n $form-select-indicator-padding;\n $form-select-feedback-icon-size: $input-height-inner-half\n $input-height-inner-half;\n\n $form-select-border-width: $input-border-width;\n $form-select-border-color: $input-border-color;\n $form-select-border-radius: $input-border-radius;\n $form-select-box-shadow: $box-shadow-inset;\n\n $form-select-focus-border-color: $input-focus-border-color;\n $form-select-focus-width: $input-focus-width;\n $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width\n $input-btn-focus-color;\n\n $form-select-padding-y-sm: $input-padding-y-sm;\n $form-select-padding-x-sm: $input-padding-x-sm;\n $form-select-font-size-sm: $input-font-size-sm;\n $form-select-border-radius-sm: $input-border-radius-sm;\n\n $form-select-padding-y-lg: $input-padding-y-lg;\n $form-select-padding-x-lg: $input-padding-x-lg;\n $form-select-font-size-lg: $input-font-size-lg;\n $form-select-border-radius-lg: $input-border-radius-lg;\n\n $form-select-transition: $input-transition;\n\n $form-range-track-width: 100%;\n $form-range-track-height: 0.5rem;\n $form-range-track-cursor: pointer;\n $form-range-track-bg: $gray-300;\n $form-range-track-border-radius: 1rem;\n $form-range-track-box-shadow: $box-shadow-inset;\n\n $form-range-thumb-width: 1rem;\n $form-range-thumb-height: $form-range-thumb-width;\n $form-range-thumb-bg: $component-active-bg;\n $form-range-thumb-border: 0;\n $form-range-thumb-border-radius: 1rem;\n $form-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1);\n $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg,\n $input-focus-box-shadow;\n $form-range-thumb-focus-box-shadow-width: $input-focus-width; // For focus box shadow issue in Edge\n $form-range-thumb-active-bg: tint-color($component-active-bg, 70%);\n $form-range-thumb-disabled-bg: $gray-500;\n $form-range-thumb-transition: background-color 0.15s ease-in-out,\n border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n\n $form-file-button-color: $input-color;\n $form-file-button-bg: $input-group-addon-bg;\n $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%);\n\n $form-floating-height: ", ";\n $form-floating-line-height: 1.25;\n $form-floating-padding-x: $input-padding-x;\n $form-floating-padding-y: 1rem;\n $form-floating-input-padding-t: 1.625rem;\n $form-floating-input-padding-b: 0.625rem;\n $form-floating-label-opacity: 0.65;\n $form-floating-label-transform: scale(0.85) translateY(-0.5rem)\n translateX(0.15rem);\n $form-floating-transition: opacity 0.1s ease-in-out,\n transform 0.1s ease-in-out;\n\n // Form validation\n\n $form-feedback-margin-top: $form-text-margin-top;\n $form-feedback-font-size: $form-text-font-size;\n $form-feedback-font-style: $form-text-font-style;\n $form-feedback-valid-color: $success;\n $form-feedback-invalid-color: $danger;\n\n $form-feedback-icon-valid-color: $form-feedback-valid-color;\n $form-feedback-icon-valid: ", ";\n $form-feedback-icon-invalid-color: $form-feedback-invalid-color;\n $form-feedback-icon-invalid: ", ";\n\n $form-validation-states: ", ";\n\n // Z-index master list\n //\n // Warning: Avoid customizing these values. They're used for a bird's eye view\n // of components dependent on the z-axis and are designed to all work together.\n\n $zindex-dropdown: 1000;\n $zindex-sticky: 1020;\n $zindex-fixed: 1030;\n $zindex-offcanvas-backdrop: 1040;\n $zindex-offcanvas: 1045;\n $zindex-modal-backdrop: 1050;\n $zindex-modal: 1055;\n $zindex-popover: 1070;\n $zindex-tooltip: 1080;\n\n // Navs\n\n $nav-link-padding-y: 0.5rem;\n $nav-link-padding-x: 1rem;\n $nav-link-font-size: null;\n $nav-link-font-weight: null;\n $nav-link-color: $link-color;\n $nav-link-hover-color: $link-hover-color;\n $nav-link-transition: color 0.15s ease-in-out,\n background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n $nav-link-disabled-color: $gray-600;\n\n $nav-tabs-border-color: $gray-300;\n $nav-tabs-border-width: $border-width;\n $nav-tabs-border-radius: $border-radius;\n $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color;\n $nav-tabs-link-active-color: $gray-700;\n $nav-tabs-link-active-bg: $body-bg;\n $nav-tabs-link-active-border-color: $gray-300 $gray-300\n $nav-tabs-link-active-bg;\n\n $nav-pills-border-radius: $border-radius;\n $nav-pills-link-active-color: $component-active-color;\n $nav-pills-link-active-bg: $component-active-bg;\n\n // Navbar\n\n $navbar-padding-y: $spacer * 0.5;\n $navbar-padding-x: null;\n\n $navbar-nav-link-padding-x: 0.5rem;\n\n $navbar-brand-font-size: $font-size-lg;\n\n $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y *\n 2;\n $navbar-brand-height: $navbar-brand-font-size * $line-height-base;\n $navbar-brand-padding-y-intermediate-result: $nav-link-height -\n $navbar-brand-height;\n $navbar-brand-padding-y: $navbar-brand-padding-y-intermediate-result * 0.5;\n $navbar-brand-margin-end: 1rem;\n\n $navbar-toggler-padding-y: 0.25rem;\n $navbar-toggler-padding-x: 0.75rem;\n $navbar-toggler-font-size: $font-size-lg;\n $navbar-toggler-border-radius: $btn-border-radius;\n $navbar-toggler-focus-width: $btn-focus-width;\n $navbar-toggler-transition: box-shadow 0.15s ease-in-out;\n\n $navbar-dark-color: rgba($white, 0.55);\n $navbar-dark-hover-color: rgba($white, 0.75);\n $navbar-dark-active-color: $white;\n $navbar-dark-disabled-color: rgba($white, 0.25);\n $navbar-dark-toggler-icon-bg: ", ";\n $navbar-dark-toggler-border-color: rgba($white, 0.1);\n\n $navbar-light-color: rgba($black, 0.55);\n $navbar-light-hover-color: rgba($black, 0.7);\n $navbar-light-active-color: rgba($black, 0.9);\n $navbar-light-disabled-color: rgba($black, 0.3);\n $navbar-light-toggler-icon-bg: ", ";\n $navbar-light-toggler-border-color: rgba($black, 0.1);\n\n $navbar-light-brand-color: $navbar-light-active-color;\n $navbar-light-brand-hover-color: $navbar-light-active-color;\n $navbar-dark-brand-color: $navbar-dark-active-color;\n $navbar-dark-brand-hover-color: $navbar-dark-active-color;\n\n // Dropdowns\n //\n // Dropdown menu container and contents.\n\n $dropdown-min-width: 10rem;\n $dropdown-padding-x: 0;\n $dropdown-padding-y: 0.5rem;\n $dropdown-spacer: 0.125rem;\n $dropdown-font-size: $font-size-base;\n $dropdown-color: $body-color;\n $dropdown-bg: $white;\n $dropdown-border-color: rgba($black, 0.15);\n $dropdown-border-radius: $border-radius;\n $dropdown-border-width: $border-width;\n $dropdown-inner-border-radius: ", ";\n $dropdown-divider-bg: $dropdown-border-color;\n $dropdown-divider-margin-y: $spacer * 0.5;\n $dropdown-box-shadow: $box-shadow;\n\n $dropdown-link-color: $gray-900;\n\n $dropdown-link-hover-color: ", ";\n $dropdown-link-hover-bg: $gray-200;\n\n $dropdown-link-active-color: $component-active-color;\n $dropdown-link-active-bg: $component-active-bg;\n\n $dropdown-link-disabled-color: $gray-500;\n\n $dropdown-item-padding-y: $spacer * 0.25;\n $dropdown-item-padding-x: $spacer;\n\n $dropdown-header-color: $gray-600;\n $dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x;\n\n $dropdown-dark-color: $gray-300;\n $dropdown-dark-bg: $gray-800;\n $dropdown-dark-border-color: $dropdown-border-color;\n $dropdown-dark-divider-bg: $dropdown-divider-bg;\n $dropdown-dark-box-shadow: null;\n $dropdown-dark-link-color: $dropdown-dark-color;\n $dropdown-dark-link-hover-color: $white;\n $dropdown-dark-link-hover-bg: rgba($white, 0.15);\n $dropdown-dark-link-active-color: $dropdown-link-active-color;\n $dropdown-dark-link-active-bg: $dropdown-link-active-bg;\n $dropdown-dark-link-disabled-color: $gray-500;\n $dropdown-dark-header-color: $gray-500;\n\n // ...\n\n // Cards\n\n $card-spacer-y: $spacer;\n $card-spacer-x: $spacer;\n $card-title-spacer-y: $spacer * 0.5;\n $card-border-width: $border-width;\n $card-border-color: rgba($black, 0.125);\n $card-border-radius: $border-radius;\n $card-box-shadow: null;\n $card-inner-border-radius: ", ";\n $card-cap-padding-y: $card-spacer-y * 0.5;\n $card-cap-padding-x: $card-spacer-x;\n $card-cap-bg: rgba($black, 0.03);\n $card-cap-color: null;\n $card-height: null;\n $card-color: null;\n $card-bg: $white;\n $card-img-overlay-padding: $spacer;\n $card-group-margin: $grid-gutter-width * 0.5;\n\n // ...\n\n // Tooltips\n\n $tooltip-font-size: $font-size-sm;\n $tooltip-max-width: 200px;\n $tooltip-color: $white;\n $tooltip-bg: $black;\n $tooltip-border-radius: $border-radius;\n $tooltip-opacity: 0.9;\n $tooltip-padding-y: $spacer * 0.25;\n $tooltip-padding-x: $spacer * 0.5;\n $tooltip-margin: 0;\n\n $tooltip-arrow-width: 0.8rem;\n $tooltip-arrow-height: 0.4rem;\n $tooltip-arrow-color: $tooltip-bg;\n\n // Popovers\n\n $popover-font-size: $font-size-sm;\n $popover-bg: $white;\n $popover-max-width: 276px;\n $popover-border-width: $border-width;\n $popover-border-color: rgba($black, 0.2);\n $popover-border-radius: $border-radius-lg;\n $popover-inner-border-radius: ", ";\n $popover-box-shadow: $box-shadow;\n\n $popover-header-bg: ", ";\n $popover-header-color: $headings-color;\n $popover-header-padding-y: 0.5rem;\n $popover-header-padding-x: $spacer;\n\n $popover-body-color: $body-color;\n $popover-body-padding-y: $spacer;\n $popover-body-padding-x: $spacer;\n\n $popover-arrow-width: 1rem;\n $popover-arrow-height: 0.5rem;\n $popover-arrow-color: $popover-bg;\n\n $popover-arrow-outer-color: $popover-border-color;\n\n // Toasts\n\n $toast-max-width: 350px;\n $toast-padding-x: 0.75rem;\n $toast-padding-y: 0.5rem;\n $toast-font-size: 0.875rem;\n $toast-color: null;\n $toast-background-color: rgba($white, 0.85);\n $toast-border-width: 1px;\n $toast-border-color: rgba($black, 0.1);\n $toast-border-radius: $border-radius;\n $toast-box-shadow: $box-shadow;\n $toast-spacing: $container-padding-x;\n\n $toast-header-color: $gray-600;\n $toast-header-background-color: rgba($white, 0.85);\n $toast-header-border-color: rgba($black, 0.05);\n\n // Badges\n\n $badge-font-size: $font-size-base * 0.75; // 0.75em;\n $badge-font-weight: $font-weight-bold;\n $badge-color: $white;\n $badge-padding-y: $badge-font-size * 0.35; // 0.35em;\n $badge-padding-x: $badge-font-size * 0.65; // 0.65em;\n $badge-border-radius: $border-radius;\n\n // Modals\n\n $modal-inner-padding: $spacer;\n\n $modal-footer-margin-between: 0.5rem;\n\n $modal-dialog-margin: 0.5rem;\n $modal-dialog-margin-y-sm-up: 1.75rem;\n\n $modal-title-line-height: $line-height-base;\n\n $modal-content-color: null;\n $modal-content-bg: $white;\n $modal-content-border-color: rgba($black, 0.65); // rgba($black, 0.2);\n $modal-content-border-width: $border-width;\n $modal-content-border-radius: $border-radius-lg;\n $modal-content-inner-border-radius: ", ";\n $modal-content-box-shadow-xs: $box-shadow-sm;\n $modal-content-box-shadow-sm-up: $box-shadow;\n\n $modal-backdrop-bg: $black;\n $modal-backdrop-opacity: 0.5;\n $modal-header-border-color: $border-color;\n $modal-footer-border-color: $modal-header-border-color;\n $modal-header-border-width: $modal-content-border-width;\n $modal-footer-border-width: $modal-header-border-width;\n $modal-header-padding-y: $modal-inner-padding;\n $modal-header-padding-x: $modal-inner-padding;\n $modal-header-padding: $modal-header-padding-y $modal-header-padding-x; // Keep this for backwards compatibility\n\n $modal-sm: 300px;\n $modal-md: 500px;\n $modal-lg: 800px;\n $modal-xl: 1140px;\n\n $modal-fade-transform: translate(0, -50px);\n $modal-show-transform: none;\n $modal-transition: transform 0.3s ease-out;\n $modal-scale-transform: scale(1.02);\n\n // ...\n\n // Alerts\n //\n // Define alert colors, border radius, and padding.\n\n $alert-padding-y: $spacer;\n $alert-padding-x: $spacer;\n $alert-margin-bottom: 1rem;\n $alert-border-radius: $border-radius;\n $alert-link-font-weight: $font-weight-bold;\n $alert-border-width: $border-width;\n $alert-bg-scale: -80%;\n $alert-border-scale: -70%;\n $alert-color-scale: 40%;\n $alert-dismissible-padding-r: $alert-padding-x * 3; // 3x covers width of x plus default padding on either side\n\n // Pagination\n\n $pagination-padding-y: 0.375rem;\n $pagination-padding-x: 0.75rem;\n $pagination-padding-y-sm: 0.25rem;\n $pagination-padding-x-sm: 0.5rem;\n $pagination-padding-y-lg: 0.75rem;\n $pagination-padding-x-lg: 1.5rem;\n\n $pagination-color: $link-color;\n $pagination-bg: $white;\n $pagination-border-width: $border-width;\n $pagination-border-radius: $border-radius;\n $pagination-margin-start: -$pagination-border-width;\n $pagination-border-color: $gray-300;\n\n $pagination-focus-color: $link-hover-color;\n $pagination-focus-bg: $gray-200;\n $pagination-focus-box-shadow: $input-btn-focus-box-shadow;\n $pagination-focus-outline: 0;\n\n $pagination-hover-color: $link-hover-color;\n $pagination-hover-bg: $gray-200;\n $pagination-hover-border-color: $gray-300;\n\n $pagination-active-color: $component-active-color;\n $pagination-active-bg: $component-active-bg;\n $pagination-active-border-color: $pagination-active-bg;\n\n $pagination-disabled-color: $gray-600;\n $pagination-disabled-bg: $white;\n $pagination-disabled-border-color: $gray-300;\n\n $pagination-transition: color 0.15s ease-in-out,\n background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,\n box-shadow 0.15s ease-in-out;\n\n $pagination-border-radius-sm: $border-radius-sm;\n $pagination-border-radius-lg: $border-radius-lg;\n\n // Progress bars\n\n $progress-height: 1rem;\n $progress-font-size: $font-size-base * 0.75;\n $progress-bg: $gray-200;\n $progress-border-radius: $border-radius;\n $progress-box-shadow: $box-shadow-inset;\n $progress-bar-color: $white;\n $progress-bar-bg: $primary;\n $progress-bar-animation-timing: 1s linear infinite;\n $progress-bar-transition: width 0.6s ease;\n\n // List group\n\n $list-group-color: $gray-900;\n $list-group-bg: $white;\n $list-group-border-color: rgba($black, 0.125);\n $list-group-border-width: $border-width;\n $list-group-border-radius: $border-radius;\n\n $list-group-item-padding-y: $spacer * 0.5;\n $list-group-item-padding-x: $spacer;\n $list-group-item-bg-scale: -80%;\n $list-group-item-color-scale: 40%;\n\n $list-group-hover-bg: $gray-100;\n $list-group-active-color: $component-active-color;\n $list-group-active-bg: $component-active-bg;\n $list-group-active-border-color: $list-group-active-bg;\n\n $list-group-disabled-color: $gray-600;\n $list-group-disabled-bg: $list-group-bg;\n\n $list-group-action-color: $gray-700;\n $list-group-action-hover-color: $list-group-action-color;\n\n $list-group-action-active-color: $body-color;\n $list-group-action-active-bg: $gray-200;\n\n // ...\n\n // Spinners\n\n $spinner-width: 2rem;\n $spinner-height: $spinner-width;\n $spinner-vertical-align: $font-size-base * -0.125; // -.125em;\n $spinner-border-width: $font-size-base * 0.25; // .25em;\n $spinner-animation-speed: 0.75s;\n\n $spinner-width-sm: 1rem;\n $spinner-height-sm: $spinner-width-sm;\n $spinner-border-width-sm: $font-size-base * 0.2; // .2em;\n\n // Close\n\n $btn-close-width: $font-size-base * 1; // 1em;\n $btn-close-height: $btn-close-width;\n $btn-close-padding-x: $font-size-base * 0.25; // .25em;\n $btn-close-padding-y: $btn-close-padding-x;\n $btn-close-color: $black;\n $btn-close-bg: ", ";\n $btn-close-focus-shadow: $input-btn-focus-box-shadow;\n $btn-close-opacity: 0.5;\n $btn-close-hover-opacity: 0.75;\n $btn-close-focus-opacity: 1;\n $btn-close-disabled-opacity: 0.25;\n // $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);\n\n // Offcanvas\n\n $offcanvas-padding-y: $modal-inner-padding;\n $offcanvas-padding-x: $modal-inner-padding;\n $offcanvas-horizontal-width: 400px;\n $offcanvas-vertical-height: 200px; // 30vh;\n $offcanvas-transition-duration: 0.3s;\n $offcanvas-border-color: $modal-content-border-color;\n $offcanvas-border-width: $modal-content-border-width;\n $offcanvas-title-line-height: $modal-title-line-height;\n $offcanvas-bg-color: $modal-content-bg;\n $offcanvas-color: $modal-content-color;\n $offcanvas-box-shadow: $modal-content-box-shadow-xs;\n $offcanvas-backdrop-bg: $modal-backdrop-bg;\n $offcanvas-backdrop-opacity: $modal-backdrop-opacity;\n\n // Code\n\n $code-font-size: $small-font-size;\n $code-color: $pink;\n\n $kbd-padding-y: 0.2rem;\n $kbd-padding-x: 0.4rem;\n $kbd-font-size: $code-font-size;\n $kbd-color: $white;\n $kbd-bg: $gray-900;\n\n $pre-color: null;\n"])), t => ({
|
|
4373
|
+
const variables = css(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteral(["\n // Color system\n\n $white: #fff;\n $gray-100: #f8f9fa;\n $gray-200: #e9ecef;\n $gray-300: #dee2e6;\n $gray-400: #ced4da;\n $gray-500: #adb5bd;\n $gray-600: #6c757d;\n $gray-700: #495057;\n $gray-800: #343a40;\n $gray-900: #212529;\n $black: #000;\n\n $grays: ", ";\n\n $blue: #0d6efd;\n $indigo: #6610f2;\n $purple: #6f42c1;\n $pink: #d63384;\n $red: #dc3545;\n $orange: #fd7e14;\n $yellow: #ffc107;\n $green: #198754;\n $teal: #20c997;\n $cyan: #0dcaf0;\n\n $colors: ", ";\n\n $primary: $blue;\n $secondary: $gray-600;\n $success: $green;\n $info: $cyan;\n $warning: $yellow;\n $danger: $red;\n $light: $gray-100;\n $dark: $gray-900;\n\n $theme-colors: ", ";\n\n // The contrast ratio to reach against white, to determine if color changes from \"light\" to \"dark\". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.\n // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast\n $min-contrast-ratio: 4.5;\n\n // Customize the light and dark text colors for use in our color contrast function.\n $color-contrast-dark: $black;\n $color-contrast-light: $white;\n\n $blue-100: tint-color($blue, 80%);\n $blue-200: tint-color($blue, 60%);\n $blue-300: tint-color($blue, 40%);\n $blue-400: tint-color($blue, 20%);\n $blue-500: $blue;\n $blue-600: shade-color($blue, 20%);\n $blue-700: shade-color($blue, 40%);\n $blue-800: shade-color($blue, 60%);\n $blue-900: shade-color($blue, 80%);\n\n $indigo-100: tint-color($indigo, 80%);\n $indigo-200: tint-color($indigo, 60%);\n $indigo-300: tint-color($indigo, 40%);\n $indigo-400: tint-color($indigo, 20%);\n $indigo-500: $indigo;\n $indigo-600: shade-color($indigo, 20%);\n $indigo-700: shade-color($indigo, 40%);\n $indigo-800: shade-color($indigo, 60%);\n $indigo-900: shade-color($indigo, 80%);\n\n $purple-100: tint-color($purple, 80%);\n $purple-200: tint-color($purple, 60%);\n $purple-300: tint-color($purple, 40%);\n $purple-400: tint-color($purple, 20%);\n $purple-500: $purple;\n $purple-600: shade-color($purple, 20%);\n $purple-700: shade-color($purple, 40%);\n $purple-800: shade-color($purple, 60%);\n $purple-900: shade-color($purple, 80%);\n\n $pink-100: tint-color($pink, 80%);\n $pink-200: tint-color($pink, 60%);\n $pink-300: tint-color($pink, 40%);\n $pink-400: tint-color($pink, 20%);\n $pink-500: $pink;\n $pink-600: shade-color($pink, 20%);\n $pink-700: shade-color($pink, 40%);\n $pink-800: shade-color($pink, 60%);\n $pink-900: shade-color($pink, 80%);\n\n $red-100: tint-color($red, 80%);\n $red-200: tint-color($red, 60%);\n $red-300: tint-color($red, 40%);\n $red-400: tint-color($red, 20%);\n $red-500: $red;\n $red-600: shade-color($red, 20%);\n $red-700: shade-color($red, 40%);\n $red-800: shade-color($red, 60%);\n $red-900: shade-color($red, 80%);\n\n $orange-100: tint-color($orange, 80%);\n $orange-200: tint-color($orange, 60%);\n $orange-300: tint-color($orange, 40%);\n $orange-400: tint-color($orange, 20%);\n $orange-500: $orange;\n $orange-600: shade-color($orange, 20%);\n $orange-700: shade-color($orange, 40%);\n $orange-800: shade-color($orange, 60%);\n $orange-900: shade-color($orange, 80%);\n\n $yellow-100: tint-color($yellow, 80%);\n $yellow-200: tint-color($yellow, 60%);\n $yellow-300: tint-color($yellow, 40%);\n $yellow-400: tint-color($yellow, 20%);\n $yellow-500: $yellow;\n $yellow-600: shade-color($yellow, 20%);\n $yellow-700: shade-color($yellow, 40%);\n $yellow-800: shade-color($yellow, 60%);\n $yellow-900: shade-color($yellow, 80%);\n\n $green-100: tint-color($green, 80%);\n $green-200: tint-color($green, 60%);\n $green-300: tint-color($green, 40%);\n $green-400: tint-color($green, 20%);\n $green-500: $green;\n $green-600: shade-color($green, 20%);\n $green-700: shade-color($green, 40%);\n $green-800: shade-color($green, 60%);\n $green-900: shade-color($green, 80%);\n\n $teal-100: tint-color($teal, 80%);\n $teal-200: tint-color($teal, 60%);\n $teal-300: tint-color($teal, 40%);\n $teal-400: tint-color($teal, 20%);\n $teal-500: $teal;\n $teal-600: shade-color($teal, 20%);\n $teal-700: shade-color($teal, 40%);\n $teal-800: shade-color($teal, 60%);\n $teal-900: shade-color($teal, 80%);\n\n $cyan-100: tint-color($cyan, 80%);\n $cyan-200: tint-color($cyan, 60%);\n $cyan-300: tint-color($cyan, 40%);\n $cyan-400: tint-color($cyan, 20%);\n $cyan-500: $cyan;\n $cyan-600: shade-color($cyan, 20%);\n $cyan-700: shade-color($cyan, 40%);\n $cyan-800: shade-color($cyan, 60%);\n $cyan-900: shade-color($cyan, 80%);\n\n $blues: ", ";\n\n $indigos: ", ";\n\n $purples: ", ";\n\n $pinks: ", ";\n\n $reds: ", ";\n\n $oranges: ", ";\n\n $yellows: ", ";\n\n $greens: ", ";\n\n $teals: ", ";\n\n $cyans: ", ";\n\n // Characters which are escaped by the escape-svg function\n // $escaped characters\n\n // Options\n //\n // Quickly modify global styling by enabling or disabling optional features.\n\n // NOTE: Handled by JavaScript.\n\n // Gradient\n //\n // The gradient which is added to components if \"$enable-gradients\" is \"true\"\n // This gradient is also added to elements with \".bg-gradient\"\n $gradient: linear-gradient(180deg, rgba($white, 0.15), rgba($white, 0));\n\n // Spacing\n //\n // Control the default styling of most Bootstrap elements by modifying these\n // variables. Mostly focused on spacing.\n // You can add more entries to the $spacers map, should you need more variation.\n\n $spacer: 1rem;\n $spacers: ", ";\n\n // Position\n //\n // Define the edge positioning anchors of the position utilities.\n\n $position-values: ", ";\n\n // Placeholder\n\n $placeholder-opacity-max: 0.5;\n $placeholder-opacity-min: 0.2;\n\n // Body\n //\n // Settings for the \"<body>\" element.\n\n $body-bg: $white;\n $body-color: $gray-900;\n $body-text-align: null;\n\n // Links\n //\n // Style anchor elements.\n\n $link-color: $primary;\n $link-decoration: underline;\n $link-shade-percentage: 20%;\n $link-hover-color: ", ";\n $link-hover-decoration: null;\n\n $stretched-link-pseudo-element: after;\n $stretched-link-z-index: 1;\n\n // Paragraphs\n //\n // Style p element.\n\n $paragraph-margin-bottom: 1rem;\n\n // Grid breakpoints\n //\n // Define the minimum dimensions at which your layout will change,\n // adapting to different screen sizes, for use in media queries.\n\n $grid-breakpoints: ", ";\n\n // Grid containers\n //\n // Define the maximum width of \".container\" for different screen sizes.\n\n $container-max-widths: ", ";\n\n // Grid columns\n //\n // Set the number of columns and specify the width of the gutters.\n\n // $grid-columns: 12;\n $grid-gutter-width: 1.5rem;\n // $grid-row-columns: 6;\n\n // Container padding\n\n $container-padding-x: $grid-gutter-width * 0.5;\n\n // Components\n //\n // Define common padding and border radius sizes and more.\n\n $border-width: 1px;\n $border-widths: ", ";\n\n $border-color: $gray-300;\n\n $border-radius: 0.25rem;\n $border-radius-sm: 0.2rem;\n $border-radius-lg: 0.3rem;\n $border-radius-pill: 50rem;\n\n $box-shadow: 0 0.5rem 1rem rgba($black, 0.15);\n $box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075);\n $box-shadow-lg: 0 1rem 3rem rgba($black, 0.175);\n $box-shadow-inset: inset 0 1px 2px rgba($black, 0.075);\n\n $component-active-color: $white;\n $component-active-bg: $primary;\n\n $caret-width: 1rem * 0.3; // 0.3em;\n $caret-vertical-align: $caret-width * 0.85;\n $caret-spacing: $caret-width * 0.85;\n\n $transition-base: all 0.2s ease-in-out;\n $transition-fade: opacity 0.15s linear;\n $transition-collapse: height 0.35s ease;\n $transition-collapse-width: width 0.35s ease;\n\n $aspect-ratios: ", ";\n\n // Typography\n //\n // Font, line-height, and color for body text, headings, and more.\n\n $font-family-sans-serif: ", ";\n $font-family-monospace: ", ";\n $font-family-base: $font-family-sans-serif;\n $font-family-code: $font-family-monospace;\n\n // $font-size-root affects the value of \"rem\", which is used for as well font sizes, paddings, and margins\n // $font-size-base affects the font size of the body text\n $font-size-root: null;\n $font-size-base: 1rem; // Assumes the browser default, typically \"16px\"\n $font-size-sm: $font-size-base * 0.875;\n $font-size-lg: $font-size-base * 1.25;\n\n $font-weight-lighter: 300; // lighter;\n $font-weight-light: 300;\n $font-weight-normal: 400;\n $font-weight-bold: 700;\n $font-weight-bolder: 500; // bolder;\n\n $font-weight-base: $font-weight-normal;\n\n $line-height-base: 1.5;\n $line-height-sm: 1.25;\n $line-height-lg: 2;\n\n $h1-font-size: $font-size-base * 2.5;\n $h2-font-size: $font-size-base * 2;\n $h3-font-size: $font-size-base * 1.75;\n $h4-font-size: $font-size-base * 1.5;\n $h5-font-size: $font-size-base * 1.25;\n $h6-font-size: $font-size-base;\n\n $font-sizes: ", ";\n\n $headings-margin-bottom: $spacer * 0.5;\n $headings-font-family: null;\n $headings-font-style: null;\n $headings-font-weight: 500;\n $headings-line-height: 1.2;\n $headings-color: null;\n\n $display-font-sizes: ", ";\n\n $display-font-weight: 300;\n $display-line-height: $headings-line-height;\n\n $lead-font-size: $font-size-base * 1.25;\n $lead-font-weight: 300;\n\n $small-font-size: $font-size-base * 0.875; // 0.875em;\n\n $sub-sup-font-size: $font-size-base * 0.75; // 0.75em;\n\n $text-muted: $gray-600;\n\n $initialism-font-size: $small-font-size;\n\n $blockquote-margin-y: $spacer;\n $blockquote-font-size: $font-size-base * 1.25;\n $blockquote-footer-color: $gray-600;\n $blockquote-footer-font-size: $small-font-size;\n\n $hr-margin-y: $spacer;\n $hr-color: inherit;\n $hr-bg-color: currentColor;\n $hr-border-width: 0;\n $hr-height: $border-width;\n $hr-opacity: 0.25;\n\n $legend-margin-bottom: 0.5rem;\n $legend-font-size: 1.5rem;\n $legend-font-weight: null;\n\n $mark-padding: $font-size-base * 0.2; // 0.2em;\n\n $dt-font-weight: $font-weight-bold;\n\n $nested-kbd-font-weight: $font-weight-bold;\n\n $list-inline-padding: 0.5rem;\n\n $mark-bg: #fcf8e3;\n\n // ...\n\n // Buttons + Forms\n //\n // Shared variables that are reassigned to \"$input-\" and \"$btn-\" specific variables.\n\n $input-btn-padding-y: 0.375rem;\n $input-btn-padding-x: 0.75rem;\n $input-btn-font-family: null;\n $input-btn-font-size: $font-size-base;\n $input-btn-line-height: $line-height-base;\n\n $input-btn-focus-width: 0.25rem;\n $input-btn-focus-color-opacity: 0.25;\n $input-btn-focus-color: rgba(\n $component-active-bg,\n $input-btn-focus-color-opacity\n );\n $input-btn-focus-blur: 0;\n $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width\n $input-btn-focus-color;\n\n $input-btn-padding-y-sm: 0.25rem;\n $input-btn-padding-x-sm: 0.5rem;\n $input-btn-font-size-sm: $font-size-sm;\n\n $input-btn-padding-y-lg: 0.5rem;\n $input-btn-padding-x-lg: 1rem;\n $input-btn-font-size-lg: $font-size-lg;\n\n $input-btn-border-width: $border-width;\n\n // Buttons\n //\n // For each of Bootstrap's buttons, define text, background, and border color.\n\n $btn-padding-y: $input-btn-padding-y;\n $btn-padding-x: $input-btn-padding-x;\n $btn-font-family: $input-btn-font-family;\n $btn-font-size: $input-btn-font-size;\n $btn-line-height: $input-btn-line-height;\n $btn-white-space: null; // Set to \"nowrap\" to prevent text wrapping\n\n $btn-padding-y-sm: $input-btn-padding-y-sm;\n $btn-padding-x-sm: $input-btn-padding-x-sm;\n $btn-font-size-sm: $input-btn-font-size-sm;\n\n $btn-padding-y-lg: $input-btn-padding-y-lg;\n $btn-padding-x-lg: $input-btn-padding-x-lg;\n $btn-font-size-lg: $input-btn-font-size-lg;\n\n $btn-border-width: $input-btn-border-width;\n\n $btn-font-weight: $font-weight-normal;\n $btn-box-shadow: inset 0 1px 0 rgba($white, 0.15),\n 0 1px 1px rgba($black, 0.075);\n $btn-focus-width: $input-btn-focus-width;\n $btn-focus-box-shadow: $input-btn-focus-box-shadow;\n $btn-disabled-opacity: 0.65;\n $btn-active-box-shadow: inset 0 3px 5px rgba($black, 0.125);\n\n $btn-link-color: $link-color;\n $btn-link-hover-color: $link-hover-color;\n $btn-link-disabled-color: $gray-600;\n\n // Allows for customizing button radius independently from global border radius\n $btn-border-radius: $border-radius;\n $btn-border-radius-sm: $border-radius-sm;\n $btn-border-radius-lg: $border-radius-lg;\n\n $btn-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,\n border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n\n $btn-hover-bg-shade-amount: 15%;\n $btn-hover-bg-tint-amount: 15%;\n $btn-hover-border-shade-amount: 20%;\n $btn-hover-border-tint-amount: 10%;\n $btn-active-bg-shade-amount: 20%;\n $btn-active-bg-tint-amount: 20%;\n $btn-active-border-shade-amount: 25%;\n $btn-active-border-tint-amount: 10%;\n\n // Breadcrumb\n\n $breadcrumb-font-size: $font-size-base; // null;\n $breadcrumb-padding-y: 0;\n $breadcrumb-padding-x: 0;\n $breadcrumb-item-padding-x: 0.5rem;\n $breadcrumb-margin-bottom: 1rem;\n $breadcrumb-bg: null;\n $breadcrumb-divider-color: $gray-600;\n $breadcrumb-active-color: $gray-600;\n $breadcrumb-divider: ", "; // quote('/');\n $breadcrumb-divider-flipped: $breadcrumb-divider;\n $breadcrumb-border-radius: null;\n\n // Forms\n\n $form-text-margin-top: 0.25rem;\n $form-text-font-size: $small-font-size;\n $form-text-font-style: null;\n $form-text-font-weight: null;\n $form-text-color: $text-muted;\n\n $form-label-margin-bottom: 0.5rem;\n $form-label-font-size: $font-size-base; // null;\n $form-label-font-style: null;\n $form-label-font-weight: null;\n $form-label-color: null;\n\n $input-padding-y: $input-btn-padding-y;\n $input-padding-x: $input-btn-padding-x;\n $input-font-family: $input-btn-font-family;\n $input-font-size: $input-btn-font-size;\n $input-font-weight: $font-weight-base;\n $input-line-height: $input-btn-line-height;\n\n $input-padding-y-sm: $input-btn-padding-y-sm;\n $input-padding-x-sm: $input-btn-padding-x-sm;\n $input-font-size-sm: $input-btn-font-size-sm;\n\n $input-padding-y-lg: $input-btn-padding-y-lg;\n $input-padding-x-lg: $input-btn-padding-x-lg;\n $input-font-size-lg: $input-btn-font-size-lg;\n\n $input-bg: $body-bg;\n $input-disabled-bg: $gray-200;\n $input-disabled-border-color: null;\n\n $input-color: $body-color;\n $input-border-color: $gray-400;\n $input-border-width: $input-btn-border-width;\n $input-box-shadow: $box-shadow-inset;\n\n $input-border-radius: $border-radius;\n $input-border-radius-sm: $border-radius-sm;\n $input-border-radius-lg: $border-radius-lg;\n\n $input-focus-bg: $input-bg;\n $input-focus-border-color: ", ";\n $input-focus-color: $input-color;\n $input-focus-width: $input-btn-focus-width;\n $input-focus-box-shadow: $input-btn-focus-box-shadow;\n\n $input-placeholder-color: $gray-600;\n $input-plaintext-color: $body-color;\n\n $input-height-border: $input-border-width * 2;\n\n $input-height-inner: ", ";\n $input-height-inner-half: ", ";\n $input-height-inner-quarter: ", ";\n\n $input-height: ", ";\n $input-height-sm: ", ";\n $input-height-lg: ", ";\n\n $input-transition: border-color 0.15s ease-in-out,\n box-shadow 0.15s ease-in-out;\n\n $form-color-width: 3rem;\n\n $form-check-input-width: $font-size-base * 1; // 1em;\n $form-check-min-height: $font-size-base * $line-height-base;\n $form-check-padding-start: $form-check-input-width + 0.5rem; // 0.5em;\n $form-check-margin-bottom: 0.125rem;\n $form-check-label-color: null;\n $form-check-label-cursor: null;\n $form-check-transition: null;\n\n $form-check-input-active-filter: brightness(90%);\n\n $form-check-input-bg: $input-bg;\n $form-check-input-border: 1px solid rgba($black, 0.25);\n $form-check-input-border-radius: $font-size-base * 0.25; // 0.25em;\n $form-check-radio-border-radius: $form-check-input-width * 0.5; // 50%;\n $form-check-input-focus-border: $input-focus-border-color;\n $form-check-input-focus-box-shadow: $input-btn-focus-box-shadow;\n\n $form-check-input-checked-color: $component-active-color;\n $form-check-input-checked-bg-color: $component-active-bg;\n $form-check-input-checked-border-color: $form-check-input-checked-bg-color;\n $form-check-input-checked-bg-image: ", ";\n $form-check-radio-checked-bg-image: ", ";\n\n $form-check-input-indeterminate-color: $component-active-color;\n $form-check-input-indeterminate-bg-color: $component-active-bg;\n $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color;\n $form-check-input-indeterminate-bg-image: ", ";\n\n $form-check-input-disabled-opacity: 0.5;\n $form-check-label-disabled-opacity: $form-check-input-disabled-opacity;\n $form-check-btn-check-disabled-opacity: $btn-disabled-opacity;\n\n $form-check-inline-margin-end: 1rem;\n\n $form-switch-color: rgba($black, 0.25);\n $form-switch-width: 2rem;\n $form-switch-padding-start: $form-switch-width + 0.5rem;\n $form-switch-bg-image: ", ";\n $form-switch-border-radius: $form-switch-width;\n $form-switch-transition: background-position 0.15s ease-in-out;\n\n $form-switch-focus-color: $input-focus-border-color;\n $form-switch-focus-bg-image: ", ";\n\n $form-switch-checked-color: $component-active-color;\n $form-switch-checked-bg-image: ", ";\n $form-switch-checked-bg-position: right center;\n\n $input-group-addon-padding-y: $input-padding-y;\n $input-group-addon-padding-x: $input-padding-x;\n $input-group-addon-font-weight: $input-font-weight;\n $input-group-addon-color: $input-color;\n $input-group-addon-bg: $gray-200;\n $input-group-addon-border-color: $input-border-color;\n\n $form-select-padding-y: $input-padding-y;\n $form-select-padding-x: $input-padding-x;\n $form-select-font-family: $input-font-family;\n $form-select-font-size: $input-font-size;\n $form-select-indicator-padding: $form-select-padding-x * 3; // Extra padding for background-image\n $form-select-font-weight: $input-font-weight;\n $form-select-line-height: $input-line-height;\n $form-select-color: $input-color;\n $form-select-bg: $input-bg;\n $form-select-disabled-color: null;\n $form-select-disabled-bg: $gray-200;\n $form-select-disabled-border-color: $input-disabled-border-color;\n $form-select-bg-position: right $form-select-padding-x center;\n $form-select-bg-size: 16px 12px; // In pixels because image dimensions\n $form-select-indicator-color: $gray-800;\n $form-select-indicator: ", ";\n\n $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 +\n $form-select-indicator-padding;\n $form-select-feedback-icon-position: center right\n $form-select-indicator-padding;\n $form-select-feedback-icon-size: $input-height-inner-half\n $input-height-inner-half;\n\n $form-select-border-width: $input-border-width;\n $form-select-border-color: $input-border-color;\n $form-select-border-radius: $input-border-radius;\n $form-select-box-shadow: $box-shadow-inset;\n\n $form-select-focus-border-color: $input-focus-border-color;\n $form-select-focus-width: $input-focus-width;\n $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width\n $input-btn-focus-color;\n\n $form-select-padding-y-sm: $input-padding-y-sm;\n $form-select-padding-x-sm: $input-padding-x-sm;\n $form-select-font-size-sm: $input-font-size-sm;\n $form-select-border-radius-sm: $input-border-radius-sm;\n\n $form-select-padding-y-lg: $input-padding-y-lg;\n $form-select-padding-x-lg: $input-padding-x-lg;\n $form-select-font-size-lg: $input-font-size-lg;\n $form-select-border-radius-lg: $input-border-radius-lg;\n\n $form-select-transition: $input-transition;\n\n $form-range-track-width: 100%;\n $form-range-track-height: 0.5rem;\n $form-range-track-cursor: pointer;\n $form-range-track-bg: $gray-300;\n $form-range-track-border-radius: 1rem;\n $form-range-track-box-shadow: $box-shadow-inset;\n\n $form-range-thumb-width: 1rem;\n $form-range-thumb-height: $form-range-thumb-width;\n $form-range-thumb-bg: $component-active-bg;\n $form-range-thumb-border: 0;\n $form-range-thumb-border-radius: 1rem;\n $form-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1);\n $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg,\n $input-focus-box-shadow;\n $form-range-thumb-focus-box-shadow-width: $input-focus-width; // For focus box shadow issue in Edge\n $form-range-thumb-active-bg: tint-color($component-active-bg, 70%);\n $form-range-thumb-disabled-bg: $gray-500;\n $form-range-thumb-transition: background-color 0.15s ease-in-out,\n border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n\n $form-file-button-color: $input-color;\n $form-file-button-bg: $input-group-addon-bg;\n $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%);\n\n $form-floating-height: ", ";\n $form-floating-line-height: 1.25;\n $form-floating-padding-x: $input-padding-x;\n $form-floating-padding-y: 1rem;\n $form-floating-input-padding-t: 1.625rem;\n $form-floating-input-padding-b: 0.625rem;\n $form-floating-label-opacity: 0.65;\n $form-floating-label-transform: scale(0.85) translateY(-0.5rem)\n translateX(0.15rem);\n $form-floating-transition: opacity 0.1s ease-in-out,\n transform 0.1s ease-in-out;\n\n // Form validation\n\n $form-feedback-margin-top: $form-text-margin-top;\n $form-feedback-font-size: $form-text-font-size;\n $form-feedback-font-style: $form-text-font-style;\n $form-feedback-valid-color: $success;\n $form-feedback-invalid-color: $danger;\n\n $form-feedback-icon-valid-color: $form-feedback-valid-color;\n $form-feedback-icon-valid: ", ";\n $form-feedback-icon-invalid-color: $form-feedback-invalid-color;\n $form-feedback-icon-invalid: ", ";\n\n $form-validation-states: ", ";\n\n // Z-index master list\n //\n // Warning: Avoid customizing these values. They're used for a bird's eye view\n // of components dependent on the z-axis and are designed to all work together.\n\n $zindex-dropdown: 1000;\n $zindex-sticky: 1020;\n $zindex-fixed: 1030;\n $zindex-offcanvas-backdrop: 1040;\n $zindex-offcanvas: 1045;\n $zindex-modal-backdrop: 1050;\n $zindex-modal: 1055;\n $zindex-popover: 1070;\n $zindex-tooltip: 1080;\n\n // Navs\n\n $nav-link-padding-y: 0.5rem;\n $nav-link-padding-x: 1rem;\n $nav-link-font-size: null;\n $nav-link-font-weight: null;\n $nav-link-color: $link-color;\n $nav-link-hover-color: $link-hover-color;\n $nav-link-transition: color 0.15s ease-in-out,\n background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n $nav-link-disabled-color: $gray-600;\n\n $nav-tabs-border-color: $gray-300;\n $nav-tabs-border-width: $border-width;\n $nav-tabs-border-radius: $border-radius;\n $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color;\n $nav-tabs-link-active-color: $gray-700;\n $nav-tabs-link-active-bg: $body-bg;\n $nav-tabs-link-active-border-color: $gray-300 $gray-300\n $nav-tabs-link-active-bg;\n\n $nav-pills-border-radius: $border-radius;\n $nav-pills-link-active-color: $component-active-color;\n $nav-pills-link-active-bg: $component-active-bg;\n\n // Navbar\n\n $navbar-padding-y: $spacer * 0.5;\n $navbar-padding-x: null;\n\n $navbar-nav-link-padding-x: 0.5rem;\n\n $navbar-brand-font-size: $font-size-lg;\n\n $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y *\n 2;\n $navbar-brand-height: $navbar-brand-font-size * $line-height-base;\n $navbar-brand-padding-y-intermediate-result: $nav-link-height -\n $navbar-brand-height;\n $navbar-brand-padding-y: $navbar-brand-padding-y-intermediate-result * 0.5;\n $navbar-brand-margin-end: 1rem;\n\n $navbar-toggler-padding-y: 0.25rem;\n $navbar-toggler-padding-x: 0.75rem;\n $navbar-toggler-font-size: $font-size-lg;\n $navbar-toggler-border-radius: $btn-border-radius;\n $navbar-toggler-focus-width: $btn-focus-width;\n $navbar-toggler-transition: box-shadow 0.15s ease-in-out;\n\n $navbar-dark-color: rgba($white, 0.55);\n $navbar-dark-hover-color: rgba($white, 0.75);\n $navbar-dark-active-color: $white;\n $navbar-dark-disabled-color: rgba($white, 0.25);\n $navbar-dark-toggler-icon-bg: ", ";\n $navbar-dark-toggler-border-color: rgba($white, 0.1);\n\n $navbar-light-color: rgba($black, 0.55);\n $navbar-light-hover-color: rgba($black, 0.7);\n $navbar-light-active-color: rgba($black, 0.9);\n $navbar-light-disabled-color: rgba($black, 0.3);\n $navbar-light-toggler-icon-bg: ", ";\n $navbar-light-toggler-border-color: rgba($black, 0.1);\n\n $navbar-light-brand-color: $navbar-light-active-color;\n $navbar-light-brand-hover-color: $navbar-light-active-color;\n $navbar-dark-brand-color: $navbar-dark-active-color;\n $navbar-dark-brand-hover-color: $navbar-dark-active-color;\n\n // Dropdowns\n //\n // Dropdown menu container and contents.\n\n $dropdown-min-width: 10rem;\n $dropdown-padding-x: 0;\n $dropdown-padding-y: 0.5rem;\n $dropdown-spacer: 0.125rem;\n $dropdown-font-size: $font-size-base;\n $dropdown-color: $body-color;\n $dropdown-bg: $white;\n $dropdown-border-color: rgba($black, 0.15);\n $dropdown-border-radius: $border-radius;\n $dropdown-border-width: $border-width;\n $dropdown-inner-border-radius: ", ";\n $dropdown-divider-bg: $dropdown-border-color;\n $dropdown-divider-margin-y: $spacer * 0.5;\n $dropdown-box-shadow: $box-shadow;\n\n $dropdown-link-color: $gray-900;\n\n $dropdown-link-hover-color: ", ";\n $dropdown-link-hover-bg: $gray-200;\n\n $dropdown-link-active-color: $component-active-color;\n $dropdown-link-active-bg: $component-active-bg;\n\n $dropdown-link-disabled-color: $gray-500;\n\n $dropdown-item-padding-y: $spacer * 0.25;\n $dropdown-item-padding-x: $spacer;\n\n $dropdown-header-color: $gray-600;\n $dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x;\n\n $dropdown-dark-color: $gray-300;\n $dropdown-dark-bg: $gray-800;\n $dropdown-dark-border-color: $dropdown-border-color;\n $dropdown-dark-divider-bg: $dropdown-divider-bg;\n $dropdown-dark-box-shadow: null;\n $dropdown-dark-link-color: $dropdown-dark-color;\n $dropdown-dark-link-hover-color: $white;\n $dropdown-dark-link-hover-bg: rgba($white, 0.15);\n $dropdown-dark-link-active-color: $dropdown-link-active-color;\n $dropdown-dark-link-active-bg: $dropdown-link-active-bg;\n $dropdown-dark-link-disabled-color: $gray-500;\n $dropdown-dark-header-color: $gray-500;\n\n // ...\n\n // Cards\n\n $card-spacer-y: $spacer;\n $card-spacer-x: $spacer;\n $card-title-spacer-y: $spacer * 0.5;\n $card-border-width: $border-width;\n $card-border-color: rgba($black, 0.125);\n $card-border-radius: $border-radius;\n $card-box-shadow: null;\n $card-inner-border-radius: ", ";\n $card-cap-padding-y: $card-spacer-y * 0.5;\n $card-cap-padding-x: $card-spacer-x;\n $card-cap-bg: rgba($black, 0.03);\n $card-cap-color: null;\n $card-height: null;\n $card-color: null;\n $card-bg: $white;\n $card-img-overlay-padding: $spacer;\n $card-group-margin: $grid-gutter-width * 0.5;\n\n // ...\n\n // Tooltips\n\n $tooltip-font-size: $font-size-sm;\n $tooltip-max-width: 200px;\n $tooltip-color: $white;\n $tooltip-bg: $black;\n $tooltip-border-radius: $border-radius;\n $tooltip-opacity: 0.9;\n $tooltip-padding-y: $spacer * 0.25;\n $tooltip-padding-x: $spacer * 0.5;\n $tooltip-margin: 0;\n\n $tooltip-arrow-width: 0.8rem;\n $tooltip-arrow-height: 0.4rem;\n $tooltip-arrow-color: $tooltip-bg;\n\n // Popovers\n\n $popover-font-size: $font-size-sm;\n $popover-bg: $white;\n $popover-max-width: 276px;\n $popover-border-width: $border-width;\n $popover-border-color: rgba($black, 0.2);\n $popover-border-radius: $border-radius-lg;\n $popover-inner-border-radius: ", ";\n $popover-box-shadow: $box-shadow;\n\n $popover-header-bg: ", ";\n $popover-header-color: $headings-color;\n $popover-header-padding-y: 0.5rem;\n $popover-header-padding-x: $spacer;\n\n $popover-body-color: $body-color;\n $popover-body-padding-y: $spacer;\n $popover-body-padding-x: $spacer;\n\n $popover-arrow-width: 1rem;\n $popover-arrow-height: 0.5rem;\n $popover-arrow-color: $popover-bg;\n\n $popover-arrow-outer-color: $popover-border-color;\n\n // Toasts\n\n $toast-max-width: 350px;\n $toast-padding-x: 0.75rem;\n $toast-padding-y: 0.5rem;\n $toast-font-size: 0.875rem;\n $toast-color: null;\n $toast-background-color: rgba($white, 0.85);\n $toast-border-width: 1px;\n $toast-border-color: rgba($black, 0.1);\n $toast-border-radius: $border-radius;\n $toast-box-shadow: $box-shadow;\n $toast-spacing: $container-padding-x;\n\n $toast-header-color: $gray-600;\n $toast-header-background-color: rgba($white, 0.85);\n $toast-header-border-color: rgba($black, 0.05);\n\n // Badges\n\n $badge-font-size: $font-size-base * 0.75; // 0.75em;\n $badge-font-weight: $font-weight-bold;\n $badge-color: $white;\n $badge-padding-y: $badge-font-size * 0.35; // 0.35em;\n $badge-padding-x: $badge-font-size * 0.65; // 0.65em;\n $badge-border-radius: $border-radius;\n\n // Modals\n\n $modal-inner-padding: $spacer;\n\n $modal-footer-margin-between: 0.5rem;\n\n $modal-dialog-margin: 0.5rem;\n $modal-dialog-margin-y-sm-up: 1.75rem;\n\n $modal-title-line-height: $line-height-base;\n\n $modal-content-color: null;\n $modal-content-bg: $white;\n $modal-content-border-color: rgba($black, 0.65); // rgba($black, 0.2);\n $modal-content-border-width: $border-width;\n $modal-content-border-radius: $border-radius-lg;\n $modal-content-inner-border-radius: ", ";\n $modal-content-box-shadow-xs: $box-shadow-sm;\n $modal-content-box-shadow-sm-up: $box-shadow;\n\n $modal-backdrop-bg: $black;\n $modal-backdrop-opacity: 0.5;\n $modal-header-border-color: $border-color;\n $modal-footer-border-color: $modal-header-border-color;\n $modal-header-border-width: $modal-content-border-width;\n $modal-footer-border-width: $modal-header-border-width;\n $modal-header-padding-y: $modal-inner-padding;\n $modal-header-padding-x: $modal-inner-padding;\n $modal-header-padding: $modal-header-padding-y $modal-header-padding-x; // Keep this for backwards compatibility\n\n $modal-sm: 300px;\n $modal-md: 500px;\n $modal-lg: 800px;\n $modal-xl: 1140px;\n\n $modal-fade-transform: translate(0, -50px);\n $modal-show-transform: none;\n $modal-transition: transform 0.3s ease-out;\n $modal-scale-transform: scale(1.02);\n\n // ...\n\n // Alerts\n //\n // Define alert colors, border radius, and padding.\n\n $alert-padding-y: $spacer;\n $alert-padding-x: $spacer;\n $alert-margin-bottom: 1rem;\n $alert-border-radius: $border-radius;\n $alert-link-font-weight: $font-weight-bold;\n $alert-border-width: $border-width;\n $alert-bg-scale: -80%;\n $alert-border-scale: -70%;\n $alert-color-scale: 40%;\n $alert-dismissible-padding-r: $alert-padding-x * 3; // 3x covers width of x plus default padding on either side\n\n // Pagination\n\n $pagination-padding-y: 0.375rem;\n $pagination-padding-x: 0.75rem;\n $pagination-padding-y-sm: 0.25rem;\n $pagination-padding-x-sm: 0.5rem;\n $pagination-padding-y-lg: 0.75rem;\n $pagination-padding-x-lg: 1.5rem;\n\n $pagination-color: $link-color;\n $pagination-bg: $white;\n $pagination-border-width: $border-width;\n $pagination-border-radius: $border-radius;\n $pagination-margin-start: -$pagination-border-width;\n $pagination-border-color: $gray-300;\n\n $pagination-focus-color: $link-hover-color;\n $pagination-focus-bg: $gray-200;\n $pagination-focus-box-shadow: $input-btn-focus-box-shadow;\n $pagination-focus-outline: 0;\n\n $pagination-hover-color: $link-hover-color;\n $pagination-hover-bg: $gray-200;\n $pagination-hover-border-color: $gray-300;\n\n $pagination-active-color: $component-active-color;\n $pagination-active-bg: $component-active-bg;\n $pagination-active-border-color: $pagination-active-bg;\n\n $pagination-disabled-color: $gray-600;\n $pagination-disabled-bg: $white;\n $pagination-disabled-border-color: $gray-300;\n\n $pagination-transition: color 0.15s ease-in-out,\n background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,\n box-shadow 0.15s ease-in-out;\n\n $pagination-border-radius-sm: $border-radius-sm;\n $pagination-border-radius-lg: $border-radius-lg;\n\n // Progress bars\n\n $progress-height: 1rem;\n $progress-font-size: $font-size-base * 0.75;\n $progress-bg: $gray-200;\n $progress-border-radius: $border-radius;\n $progress-box-shadow: $box-shadow-inset;\n $progress-bar-color: $white;\n $progress-bar-bg: $primary;\n $progress-bar-animation-timing: 1s linear infinite;\n $progress-bar-transition: width 0.6s ease;\n\n // List group\n\n $list-group-color: $gray-900;\n $list-group-bg: $white;\n $list-group-border-color: rgba($black, 0.125);\n $list-group-border-width: $border-width;\n $list-group-border-radius: $border-radius;\n\n $list-group-item-padding-y: $spacer * 0.5;\n $list-group-item-padding-x: $spacer;\n $list-group-item-bg-scale: -80%;\n $list-group-item-color-scale: 40%;\n\n $list-group-hover-bg: $gray-100;\n $list-group-active-color: $component-active-color;\n $list-group-active-bg: $component-active-bg;\n $list-group-active-border-color: $list-group-active-bg;\n\n $list-group-disabled-color: $gray-600;\n $list-group-disabled-bg: $list-group-bg;\n\n $list-group-action-color: $gray-700;\n $list-group-action-hover-color: $list-group-action-color;\n\n $list-group-action-active-color: $body-color;\n $list-group-action-active-bg: $gray-200;\n\n // ...\n\n // Spinners\n\n $spinner-width: 2rem;\n $spinner-height: $spinner-width;\n $spinner-vertical-align: $font-size-base * -0.125; // -.125em;\n $spinner-border-width: $font-size-base * 0.25; // .25em;\n $spinner-animation-speed: 0.75s;\n\n $spinner-width-sm: 1rem;\n $spinner-height-sm: $spinner-width-sm;\n $spinner-border-width-sm: $font-size-base * 0.2; // .2em;\n\n // Close\n\n $btn-close-width: $font-size-base * 1; // 1em;\n $btn-close-height: $btn-close-width;\n $btn-close-padding-x: $font-size-base * 0.25; // .25em;\n $btn-close-padding-y: $btn-close-padding-x;\n $btn-close-color: $black;\n $btn-close-bg: ", ";\n $btn-close-focus-shadow: $input-btn-focus-box-shadow;\n $btn-close-opacity: 0.5;\n $btn-close-hover-opacity: 0.75;\n $btn-close-focus-opacity: 1;\n $btn-close-disabled-opacity: 0.25;\n // $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);\n\n // Offcanvas\n\n $offcanvas-padding-y: $modal-inner-padding;\n $offcanvas-padding-x: $modal-inner-padding;\n $offcanvas-horizontal-width: 400px;\n $offcanvas-vertical-height: 200px; // 30vh;\n $offcanvas-transition-duration: 0.3s;\n $offcanvas-border-color: $modal-content-border-color;\n $offcanvas-border-width: $modal-content-border-width;\n $offcanvas-title-line-height: $modal-title-line-height;\n $offcanvas-bg-color: $modal-content-bg;\n $offcanvas-color: $modal-content-color;\n $offcanvas-box-shadow: $modal-content-box-shadow-xs;\n $offcanvas-backdrop-bg: $modal-backdrop-bg;\n $offcanvas-backdrop-opacity: $modal-backdrop-opacity;\n\n // Code\n\n $code-font-size: $small-font-size;\n $code-color: $pink;\n\n $kbd-padding-y: 0.2rem;\n $kbd-padding-x: 0.4rem;\n $kbd-font-size: $code-font-size;\n $kbd-color: $white;\n $kbd-bg: $gray-900;\n\n $pre-color: null;\n"])), t => ({
|
|
4375
4374
|
100: t['gray-100'],
|
|
4376
4375
|
200: t['gray-200'],
|
|
4377
4376
|
300: t['gray-300'],
|
|
@@ -5769,9 +5768,8 @@
|
|
|
5769
5768
|
const nextViewport = calculateViewport(breakpoints, width);
|
|
5770
5769
|
setViewport(nextViewport);
|
|
5771
5770
|
};
|
|
5772
|
-
|
|
5773
|
-
// Initially determine viewport after mounting.
|
|
5774
5771
|
React.useEffect(() => {
|
|
5772
|
+
// Initially determine viewport after mounting.
|
|
5775
5773
|
handleChange({
|
|
5776
5774
|
window: reactNative.Dimensions.get('window')
|
|
5777
5775
|
});
|
|
@@ -5951,7 +5949,7 @@
|
|
|
5951
5949
|
// eslint-disable-next-line react/forbid-prop-types
|
|
5952
5950
|
textStyle: PropTypes.any
|
|
5953
5951
|
};
|
|
5954
|
-
const styles$
|
|
5952
|
+
const styles$1e = StyleSheet.create(_objectSpread2(_objectSpread2({
|
|
5955
5953
|
'.alert': css(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteral(["\n position: relative;\n padding: $alert-padding-y $alert-padding-x;\n margin-bottom: $alert-margin-bottom;\n background-color: transparent;\n border: $alert-border-width solid transparent;\n border-radius: $alert-border-radius;\n "])))
|
|
5956
5954
|
}, each(THEME_COLORS, (state, value) => ({
|
|
5957
5955
|
[".alert-".concat(state)]: css(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteral(["\n background-color: ", ";\n border-color: ", ";\n "])), shiftColor(value, t => t['alert-bg-scale']), shiftColor(value, t => t['alert-border-scale'])),
|
|
@@ -5970,11 +5968,11 @@
|
|
|
5970
5968
|
textStyle
|
|
5971
5969
|
} = props,
|
|
5972
5970
|
elementProps = _objectWithoutProperties(props, _excluded$1x);
|
|
5973
|
-
const classes = getStyles(styles$
|
|
5974
|
-
const textClasses = getStyles(styles$
|
|
5971
|
+
const classes = getStyles(styles$1e, ['.alert', ".alert-".concat(color), dismissible && '.alert-dismissible']);
|
|
5972
|
+
const textClasses = getStyles(styles$1e, [".alert-".concat(color, " --text")]);
|
|
5975
5973
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
5976
5974
|
ref: ref,
|
|
5977
|
-
|
|
5975
|
+
role: "alert",
|
|
5978
5976
|
style: [classes, style],
|
|
5979
5977
|
textStyle: [textClasses, textStyle]
|
|
5980
5978
|
}), children);
|
|
@@ -5995,7 +5993,7 @@
|
|
|
5995
5993
|
// eslint-disable-next-line react/forbid-prop-types
|
|
5996
5994
|
styleName: PropTypes.any
|
|
5997
5995
|
};
|
|
5998
|
-
const styles$
|
|
5996
|
+
const styles$1d = StyleSheet.create({
|
|
5999
5997
|
text: css(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteral(["\n font-family: $font-family-base;\n font-size: $font-size-base;\n font-weight: $font-weight-base;\n line-height: $font-size-base * $line-height-base;\n "]))),
|
|
6000
5998
|
strong: css(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteral(["\n font-weight: $font-weight-bolder;\n "]))),
|
|
6001
5999
|
italic: css(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteral(["\n font-style: italic;\n "]))),
|
|
@@ -6022,10 +6020,10 @@
|
|
|
6022
6020
|
elementProps = _objectWithoutProperties(props, _excluded$1w);
|
|
6023
6021
|
const media = useMedia();
|
|
6024
6022
|
const context = React.useContext(TextStyleContext);
|
|
6025
|
-
const classes = getStyles(styles$
|
|
6023
|
+
const classes = getStyles(styles$1d, [bold && 'strong', italic && 'italic', small && 'small', mark && 'mark']);
|
|
6026
6024
|
const resolveStyle = useStyle([
|
|
6027
6025
|
// eslint-disable-next-line react/destructuring-assignment
|
|
6028
|
-
(!context || !context.hasTextAncestor) && styles$
|
|
6026
|
+
(!context || !context.hasTextAncestor) && styles$1d.text,
|
|
6029
6027
|
// eslint-disable-next-line react/destructuring-assignment
|
|
6030
6028
|
context && context.style, classes, style], getStyleName(styleName, color));
|
|
6031
6029
|
const element = /*#__PURE__*/React__default["default"].createElement(reactNative.Text, _extends({}, elementProps, {
|
|
@@ -6062,7 +6060,7 @@
|
|
|
6062
6060
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6063
6061
|
textStyle: PropTypes.any
|
|
6064
6062
|
};
|
|
6065
|
-
const styles$
|
|
6063
|
+
const styles$1c = StyleSheet.create({
|
|
6066
6064
|
'.badge': css(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteral(["\n // display: inline-block;\n padding: $badge-padding-y $badge-padding-x;\n border-radius: $badge-border-radius;\n // @include gradient-bg();\n "]))),
|
|
6067
6065
|
'.badge --text': css(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteral(["\n font-size: $badge-font-size;\n font-weight: $badge-font-weight;\n line-height: $badge-font-size * 1;\n color: $badge-color;\n text-align: center;\n // white-space: nowrap;\n // vertical-align: baseline;\n "])))
|
|
6068
6066
|
});
|
|
@@ -6073,8 +6071,8 @@
|
|
|
6073
6071
|
textStyle
|
|
6074
6072
|
} = props,
|
|
6075
6073
|
elementProps = _objectWithoutProperties(props, _excluded$1v);
|
|
6076
|
-
const classes = getStyles(styles$
|
|
6077
|
-
const textClasses = getStyles(styles$
|
|
6074
|
+
const classes = getStyles(styles$1c, ['.badge']);
|
|
6075
|
+
const textClasses = getStyles(styles$1c, ['.badge --text']);
|
|
6078
6076
|
|
|
6079
6077
|
// composite component
|
|
6080
6078
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
@@ -6157,7 +6155,7 @@
|
|
|
6157
6155
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6158
6156
|
textStyle: PropTypes.any
|
|
6159
6157
|
};
|
|
6160
|
-
const styles$
|
|
6158
|
+
const styles$1b = StyleSheet.create({
|
|
6161
6159
|
'.breadcrumb-item + .breadcrumb-item': css(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteral(["\n flex-direction: row; // added for bootstrap-rn\n padding-left: $breadcrumb-item-padding-x;\n "]))),
|
|
6162
6160
|
'.breadcrumb-item + .breadcrumb-item::before': css(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteral(["\n // float: left; // Suppress inline spacings and underlining of the separator\n padding-right: $breadcrumb-item-padding-x;\n color: $breadcrumb-divider-color;\n "]))),
|
|
6163
6161
|
'.breadcrumb-item.active --text': css(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteral(["\n color: $breadcrumb-active-color;\n "])))
|
|
@@ -6174,20 +6172,19 @@
|
|
|
6174
6172
|
const {
|
|
6175
6173
|
first
|
|
6176
6174
|
} = useForcedContext(ListContext);
|
|
6177
|
-
const classes = getStyles(styles$
|
|
6178
|
-
const textClasses = getStyles(styles$
|
|
6179
|
-
const dividerClasses = getStyles(styles$
|
|
6175
|
+
const classes = getStyles(styles$1b, [!first && '.breadcrumb-item + .breadcrumb-item']);
|
|
6176
|
+
const textClasses = getStyles(styles$1b, [active && '.breadcrumb-item.active --text']);
|
|
6177
|
+
const dividerClasses = getStyles(styles$1b, ['.breadcrumb-item + .breadcrumb-item::before']);
|
|
6180
6178
|
const role = reactNative.Platform.OS === 'web' ? 'listitem' : null;
|
|
6181
6179
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6182
6180
|
ref: ref,
|
|
6183
|
-
|
|
6181
|
+
role: role
|
|
6184
6182
|
}, optional(active, {
|
|
6185
|
-
|
|
6183
|
+
'aria-current': 'page'
|
|
6186
6184
|
}), {
|
|
6187
6185
|
style: [classes, style],
|
|
6188
6186
|
textStyle: [textClasses, textStyle]
|
|
6189
6187
|
}), !first && /*#__PURE__*/React__default["default"].createElement(Text, {
|
|
6190
|
-
selectable: false,
|
|
6191
6188
|
style: [dividerClasses, dividerStyle]
|
|
6192
6189
|
}, reactNative.I18nManager.isRTL ? StyleSheet.value('breadcrumb-divider-flipped') : StyleSheet.value('breadcrumb-divider')), children);
|
|
6193
6190
|
});
|
|
@@ -6203,7 +6200,7 @@
|
|
|
6203
6200
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6204
6201
|
textStyle: PropTypes.any
|
|
6205
6202
|
};
|
|
6206
|
-
const styles$
|
|
6203
|
+
const styles$1a = StyleSheet.create({
|
|
6207
6204
|
'.breadcrumb': css(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row; // added for bootstrap-rn\n flex-wrap: wrap;\n padding: $breadcrumb-padding-y $breadcrumb-padding-x;\n margin-bottom: $breadcrumb-margin-bottom;\n // list-style: none;\n background-color: $breadcrumb-bg;\n border-radius: $breadcrumb-border-radius;\n "]))),
|
|
6208
6205
|
'.breadcrumb --text': css(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteral(["\n font-size: $breadcrumb-font-size;\n line-height: $breadcrumb-font-size * $line-height-base; // added for bootstrap-rn\n "])))
|
|
6209
6206
|
});
|
|
@@ -6215,12 +6212,12 @@
|
|
|
6215
6212
|
} = props,
|
|
6216
6213
|
elementProps = _objectWithoutProperties(props, _excluded$1t);
|
|
6217
6214
|
const list = useList(children);
|
|
6218
|
-
const classes = getStyles(styles$
|
|
6219
|
-
const textClasses = getStyles(styles$
|
|
6215
|
+
const classes = getStyles(styles$1a, ['.breadcrumb']);
|
|
6216
|
+
const textClasses = getStyles(styles$1a, ['.breadcrumb --text']);
|
|
6220
6217
|
const role = reactNative.Platform.OS === 'web' ? 'list' : null;
|
|
6221
6218
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6222
6219
|
ref: ref,
|
|
6223
|
-
|
|
6220
|
+
role: role,
|
|
6224
6221
|
style: [classes, style],
|
|
6225
6222
|
textStyle: [textClasses, textStyle]
|
|
6226
6223
|
}), list);
|
|
@@ -6240,7 +6237,7 @@
|
|
|
6240
6237
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6241
6238
|
style: PropTypes.any
|
|
6242
6239
|
};
|
|
6243
|
-
const styles$
|
|
6240
|
+
const styles$19 = StyleSheet.create({
|
|
6244
6241
|
'.btn-group': css(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteral(["\n flex-direction: row; // added for bootstrap-rn\n border-radius: $btn-border-radius;\n "])))
|
|
6245
6242
|
});
|
|
6246
6243
|
const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => {
|
|
@@ -6251,13 +6248,13 @@
|
|
|
6251
6248
|
} = props,
|
|
6252
6249
|
elementProps = _objectWithoutProperties(props, _excluded$1s);
|
|
6253
6250
|
const list = useList(children);
|
|
6254
|
-
const classes = getStyles(styles$
|
|
6251
|
+
const classes = getStyles(styles$19, ['.btn-group']);
|
|
6255
6252
|
|
|
6256
6253
|
// Accessiblity role tabpanel is only supported on web.
|
|
6257
6254
|
const role = reactNative.Platform.OS === 'web' ? 'group' : null;
|
|
6258
6255
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6259
6256
|
ref: ref,
|
|
6260
|
-
|
|
6257
|
+
role: role,
|
|
6261
6258
|
style: [classes, style]
|
|
6262
6259
|
}), /*#__PURE__*/React__default["default"].createElement(ButtonGroupContext.Provider, {
|
|
6263
6260
|
value: {
|
|
@@ -6275,7 +6272,7 @@
|
|
|
6275
6272
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6276
6273
|
style: PropTypes.any
|
|
6277
6274
|
};
|
|
6278
|
-
const styles$
|
|
6275
|
+
const styles$18 = StyleSheet.create({
|
|
6279
6276
|
'.btn-toolbar': css(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row; // added for bootstrap-rn\n flex-wrap: wrap;\n justify-content: flex-start;\n "])))
|
|
6280
6277
|
});
|
|
6281
6278
|
const ButtonToolbar = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => {
|
|
@@ -6284,10 +6281,10 @@
|
|
|
6284
6281
|
style
|
|
6285
6282
|
} = props,
|
|
6286
6283
|
elementProps = _objectWithoutProperties(props, _excluded$1r);
|
|
6287
|
-
const classes = getStyles(styles$
|
|
6284
|
+
const classes = getStyles(styles$18, ['.btn-toolbar']);
|
|
6288
6285
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6289
6286
|
ref: ref,
|
|
6290
|
-
|
|
6287
|
+
role: "toolbar",
|
|
6291
6288
|
style: [classes, style]
|
|
6292
6289
|
}), children);
|
|
6293
6290
|
});
|
|
@@ -6447,7 +6444,7 @@
|
|
|
6447
6444
|
throw new Error('Unknown direction.');
|
|
6448
6445
|
}
|
|
6449
6446
|
};
|
|
6450
|
-
const styles$
|
|
6447
|
+
const styles$17 = StyleSheet.create({
|
|
6451
6448
|
caret: css(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteral(["\n // &::after styles\n // display: inline-block;\n margin-left: $caret-spacing;\n // vertical-align: $caret-vertical-align;\n align-self: center; // added for bootstrap-rn\n // content: \"\";\n "]))),
|
|
6452
6449
|
'caret-down': css(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteral(["\n // &::after styles\n border-top-width: $caret-width;\n border-right-width: $caret-width;\n border-right-color: transparent;\n border-bottom-width: 0;\n border-left-width: $caret-width;\n border-left-color: transparent;\n "]))),
|
|
6453
6450
|
'caret-up': css(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteral(["\n // &::after styles\n border-top-width: 0;\n border-right-width: $caret-width;\n border-right-color: transparent;\n border-bottom-width: $caret-width;\n border-left-width: $caret-width;\n border-left-color: transparent;\n "]))),
|
|
@@ -6462,7 +6459,7 @@
|
|
|
6462
6459
|
} = props,
|
|
6463
6460
|
elementProps = _objectWithoutProperties(props, _excluded$1o);
|
|
6464
6461
|
const context = React.useContext(TextStyleContext);
|
|
6465
|
-
const classes = getStyles(styles$
|
|
6462
|
+
const classes = getStyles(styles$17, ['caret', "caret-".concat(direction)]);
|
|
6466
6463
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6467
6464
|
ref: ref,
|
|
6468
6465
|
style: [classes, getBorderColorStyle(color || getColor(context), direction), style]
|
|
@@ -6493,19 +6490,18 @@
|
|
|
6493
6490
|
};
|
|
6494
6491
|
|
|
6495
6492
|
// One of the following should be set for aria support:
|
|
6496
|
-
// 1)
|
|
6497
|
-
// 2)
|
|
6493
|
+
// 1) role
|
|
6494
|
+
// 2) aria-label + aria-hint
|
|
6498
6495
|
// 3) accessibilityActions + onAccessibilityAction
|
|
6499
6496
|
const getRole$2 = props => {
|
|
6500
6497
|
const {
|
|
6501
|
-
|
|
6502
|
-
accessibilityLabel,
|
|
6498
|
+
role,
|
|
6503
6499
|
accessibilityActions
|
|
6504
6500
|
} = props;
|
|
6505
|
-
if (
|
|
6506
|
-
return
|
|
6501
|
+
if (role) {
|
|
6502
|
+
return role;
|
|
6507
6503
|
}
|
|
6508
|
-
if (
|
|
6504
|
+
if (props['aria-label'] || accessibilityActions) {
|
|
6509
6505
|
return null;
|
|
6510
6506
|
}
|
|
6511
6507
|
return 'button';
|
|
@@ -6554,7 +6550,7 @@
|
|
|
6554
6550
|
const wrappedChildren = applyCaret(children, caret);
|
|
6555
6551
|
return /*#__PURE__*/React__default["default"].createElement(reactNative.Pressable, _extends({}, elementProps, interactionProps, {
|
|
6556
6552
|
ref: actionRef,
|
|
6557
|
-
|
|
6553
|
+
role: getRole$2(actionProps),
|
|
6558
6554
|
style: [resolveStyle({
|
|
6559
6555
|
media,
|
|
6560
6556
|
interaction
|
|
@@ -6592,7 +6588,7 @@
|
|
|
6592
6588
|
if (handlePress) handlePress(event);
|
|
6593
6589
|
setPressed(value => !value);
|
|
6594
6590
|
},
|
|
6595
|
-
|
|
6591
|
+
'aria-pressed': pressed
|
|
6596
6592
|
});
|
|
6597
6593
|
}
|
|
6598
6594
|
|
|
@@ -6614,7 +6610,7 @@
|
|
|
6614
6610
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6615
6611
|
activeTextStyle: PropTypes.any
|
|
6616
6612
|
};
|
|
6617
|
-
const styles$
|
|
6613
|
+
const styles$16 = StyleSheet.create(_objectSpread2(_objectSpread2({
|
|
6618
6614
|
'.btn': css(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteral(["\n flex-direction: row; // added for bootstrap-rn\n justify-content: center; // added for bootstrap-rn\n // display: inline-block;\n @include platform(web) {\n // cursor: if($enable-button-pointers, pointer, null);\n user-select: none;\n }\n background-color: transparent;\n border: $btn-border-width solid transparent;\n padding: $btn-padding-y $btn-padding-x;\n // Manually declare to provide an override to the browser default\n border-radius: $btn-border-radius;\n // @include transition($btn-transition);\n\n &:focus-visible {\n // outline: 0;\n // box-shadow: $btn-focus-box-shadow;\n }\n\n &:active {\n // @include box-shadow($btn-active-box-shadow);\n\n &:focus-visible {\n // @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);\n }\n }\n "]))),
|
|
6619
6615
|
'.btn --text': css(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteral(["\n font-family: $btn-font-family;\n font-weight: $btn-font-weight;\n line-height: $btn-font-size * $btn-line-height;\n color: $body-color;\n text-align: center;\n text-decoration: none; // if($link-decoration == none, null, none);\n white-space: $btn-white-space;\n // vertical-align: middle;\n font-size: $btn-font-size;\n\n &:hover {\n color: $body-color;\n text-decoration: none; // if($link-decoration == none, null, none);\n }\n "]))),
|
|
6620
6616
|
'.btn.disabled': css(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteral(["\n // pointer-events: none;\n opacity: $btn-disabled-opacity;\n // @include box-shadow(none);\n "])))
|
|
@@ -6673,10 +6669,10 @@
|
|
|
6673
6669
|
invariant(color !== 'link' || !outline, 'Button link variant is only available as non outline style.');
|
|
6674
6670
|
const listItem = React.useContext(ListContext);
|
|
6675
6671
|
const group = React.useContext(ButtonGroupContext);
|
|
6676
|
-
const classes = getStyles(styles$
|
|
6677
|
-
const activeClasses = getStyles(styles$
|
|
6678
|
-
const textClasses = getStyles(styles$
|
|
6679
|
-
const activeTextClasses = getStyles(styles$
|
|
6672
|
+
const classes = getStyles(styles$16, ['.btn', getVariant(color, outline), disabled && '.btn.disabled', disabled && "".concat(getVariant(color, outline), ".disabled"), hasSize(size, group, 'lg') && '.btn-lg', hasSize(size, group, 'sm') && '.btn-sm', group && '.btn-group > .btn', group && active && '.btn-group > .btn.active', group && !listItem.first && '.btn-group > .btn:not(:first-child)', group && !listItem.last && '.btn-group > .btn:not(:last-child)']);
|
|
6673
|
+
const activeClasses = getStyles(styles$16, ["".concat(getVariant(color, outline), ".active")]);
|
|
6674
|
+
const textClasses = getStyles(styles$16, ['.btn --text', "".concat(getVariant(color, outline), " --text"), color === 'link' && '.btn-link --text', disabled && "".concat(getVariant(color, outline), ".disabled --text"), disabled && color === 'link' && '.btn-link.disabled --text', hasSize(size, group, 'lg') && '.btn-lg --text', hasSize(size, group, 'sm') && '.btn-sm --text']);
|
|
6675
|
+
const activeTextClasses = getStyles(styles$16, ["".concat(getVariant(color, outline), ".active --text")]);
|
|
6680
6676
|
return /*#__PURE__*/React__default["default"].createElement(Pressable, _extends({}, elementProps, {
|
|
6681
6677
|
ref: ref,
|
|
6682
6678
|
active: active,
|
|
@@ -6700,7 +6696,7 @@
|
|
|
6700
6696
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6701
6697
|
textStyle: PropTypes.any
|
|
6702
6698
|
};
|
|
6703
|
-
const styles$
|
|
6699
|
+
const styles$15 = StyleSheet.create({
|
|
6704
6700
|
blockquote: css(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteral(["\n margin-bottom: $blockquote-margin-y;\n "]))),
|
|
6705
6701
|
'blockquote --text': css(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteral(["\n font-size: $blockquote-font-size;\n "])))
|
|
6706
6702
|
});
|
|
@@ -6711,14 +6707,14 @@
|
|
|
6711
6707
|
textStyle
|
|
6712
6708
|
} = props,
|
|
6713
6709
|
elementProps = _objectWithoutProperties(props, _excluded$1k);
|
|
6714
|
-
const classes = getStyles(styles$
|
|
6715
|
-
const textClasses = getStyles(styles$
|
|
6710
|
+
const classes = getStyles(styles$15, ['blockquote']);
|
|
6711
|
+
const textClasses = getStyles(styles$15, ['blockquote --text']);
|
|
6716
6712
|
|
|
6717
6713
|
// Accessiblity role blockquote is only supported on web.
|
|
6718
6714
|
const role = reactNative.Platform.OS === 'web' ? 'blockquote' : null;
|
|
6719
6715
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6720
6716
|
ref: ref,
|
|
6721
|
-
|
|
6717
|
+
role: role,
|
|
6722
6718
|
style: [classes, style],
|
|
6723
6719
|
textStyle: [textClasses, textStyle]
|
|
6724
6720
|
}), children);
|
|
@@ -6737,7 +6733,7 @@
|
|
|
6737
6733
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6738
6734
|
styleName: PropTypes.any
|
|
6739
6735
|
};
|
|
6740
|
-
const styles$
|
|
6736
|
+
const styles$14 = StyleSheet.create({
|
|
6741
6737
|
body: css(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteral(["\n background-color: $body-bg;\n flex-grow: 1; // added for bootstrap-rn\n flex-shrink: 1; // added for bootstrap-rn\n "]))),
|
|
6742
6738
|
'body --text': css(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteral(["\n color: $body-color;\n text-align: $body-text-align;\n "])))
|
|
6743
6739
|
});
|
|
@@ -6749,8 +6745,8 @@
|
|
|
6749
6745
|
styleName
|
|
6750
6746
|
} = props,
|
|
6751
6747
|
elementProps = _objectWithoutProperties(props, _excluded$1j);
|
|
6752
|
-
const classes = getStyles(styles$
|
|
6753
|
-
const textClasses = getStyles(styles$
|
|
6748
|
+
const classes = getStyles(styles$14, ['body']);
|
|
6749
|
+
const textClasses = getStyles(styles$14, ['body --text']);
|
|
6754
6750
|
const media = useMedia();
|
|
6755
6751
|
const resolveStyle = useStyle([classes, style], styleName);
|
|
6756
6752
|
const resolveTextStyle = useStyle([textClasses, textStyle]);
|
|
@@ -6779,7 +6775,7 @@
|
|
|
6779
6775
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6780
6776
|
textStyle: PropTypes.any
|
|
6781
6777
|
};
|
|
6782
|
-
const styles$
|
|
6778
|
+
const styles$13 = StyleSheet.create({
|
|
6783
6779
|
'.card-body': css(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteral(["\n // flex: 1 1 auto;\n padding: $card-spacer-y $card-spacer-x;\n "]))),
|
|
6784
6780
|
'.card-body --text': css(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteral(["\n color: $card-color;\n "])))
|
|
6785
6781
|
});
|
|
@@ -6790,8 +6786,8 @@
|
|
|
6790
6786
|
textStyle
|
|
6791
6787
|
} = props,
|
|
6792
6788
|
elementProps = _objectWithoutProperties(props, _excluded$1i);
|
|
6793
|
-
const classes = getStyles(styles$
|
|
6794
|
-
const textClasses = getStyles(styles$
|
|
6789
|
+
const classes = getStyles(styles$13, ['.card-body']);
|
|
6790
|
+
const textClasses = getStyles(styles$13, [".card-body --text"]);
|
|
6795
6791
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6796
6792
|
ref: ref,
|
|
6797
6793
|
style: [classes, style],
|
|
@@ -6810,7 +6806,7 @@
|
|
|
6810
6806
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6811
6807
|
textStyle: PropTypes.any
|
|
6812
6808
|
};
|
|
6813
|
-
const styles$
|
|
6809
|
+
const styles$12 = StyleSheet.create({
|
|
6814
6810
|
'.card-header': css(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteral(["\n padding: $card-cap-padding-y $card-cap-padding-x;\n background-color: $card-cap-bg;\n border-bottom-width: $card-border-width;\n border-style: solid;\n border-color: $card-border-color;\n border-radius: $card-inner-border-radius $card-inner-border-radius 0 0;\n "]))),
|
|
6815
6811
|
'.card-header --text': css(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteral(["\n margin-bottom: 0; // Removes the default margin-bottom of <hN>\n color: $card-cap-color;\n "])))
|
|
6816
6812
|
});
|
|
@@ -6821,8 +6817,8 @@
|
|
|
6821
6817
|
textStyle
|
|
6822
6818
|
} = props,
|
|
6823
6819
|
elementProps = _objectWithoutProperties(props, _excluded$1h);
|
|
6824
|
-
const classes = getStyles(styles$
|
|
6825
|
-
const textClasses = getStyles(styles$
|
|
6820
|
+
const classes = getStyles(styles$12, ['.card-header']);
|
|
6821
|
+
const textClasses = getStyles(styles$12, ['.card-header --text']);
|
|
6826
6822
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6827
6823
|
ref: ref,
|
|
6828
6824
|
style: [classes, style],
|
|
@@ -6841,7 +6837,7 @@
|
|
|
6841
6837
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6842
6838
|
textStyle: PropTypes.any
|
|
6843
6839
|
};
|
|
6844
|
-
const styles$
|
|
6840
|
+
const styles$11 = StyleSheet.create({
|
|
6845
6841
|
'.card-footer': css(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteral(["\n padding: $card-cap-padding-y $card-cap-padding-x;\n background-color: $card-cap-bg;\n border-top-width: $card-border-width;\n border-style: solid;\n border-color: $card-border-color;\n border-radius: 0 0 $card-inner-border-radius $card-inner-border-radius;\n "]))),
|
|
6846
6842
|
'.card-footer --text': css(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteral(["\n color: $card-cap-color;\n "])))
|
|
6847
6843
|
});
|
|
@@ -6852,8 +6848,8 @@
|
|
|
6852
6848
|
textStyle
|
|
6853
6849
|
} = props,
|
|
6854
6850
|
elementProps = _objectWithoutProperties(props, _excluded$1g);
|
|
6855
|
-
const classes = getStyles(styles$
|
|
6856
|
-
const textClasses = getStyles(styles$
|
|
6851
|
+
const classes = getStyles(styles$11, ['.card-footer']);
|
|
6852
|
+
const textClasses = getStyles(styles$11, ['.card-footer --text']);
|
|
6857
6853
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6858
6854
|
ref: ref,
|
|
6859
6855
|
style: [classes, style],
|
|
@@ -6870,7 +6866,7 @@
|
|
|
6870
6866
|
// eslint-disable-next-line react/forbid-prop-types
|
|
6871
6867
|
style: PropTypes.any
|
|
6872
6868
|
};
|
|
6873
|
-
const styles$
|
|
6869
|
+
const styles$10 = StyleSheet.create({
|
|
6874
6870
|
'.card': css(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n height: $card-height;\n // word-wrap: break-word;\n background-color: $card-bg;\n // background-clip: border-box;\n border: $card-border-width solid $card-border-color;\n border-radius: $card-border-radius;\n // @include box-shadow($card-box-shadow);\n "])))
|
|
6875
6871
|
});
|
|
6876
6872
|
const Card = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => {
|
|
@@ -6879,7 +6875,7 @@
|
|
|
6879
6875
|
style
|
|
6880
6876
|
} = props,
|
|
6881
6877
|
elementProps = _objectWithoutProperties(props, _excluded$1f);
|
|
6882
|
-
const classes = getStyles(styles$
|
|
6878
|
+
const classes = getStyles(styles$10, ['.card']);
|
|
6883
6879
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
6884
6880
|
ref: ref,
|
|
6885
6881
|
style: [classes, style]
|
|
@@ -6897,7 +6893,25 @@
|
|
|
6897
6893
|
const OffcanvasContext = /*#__PURE__*/React__default["default"].createContext();
|
|
6898
6894
|
OffcanvasContext.displayName = 'OffcanvasContext';
|
|
6899
6895
|
|
|
6900
|
-
|
|
6896
|
+
// The assumed background styles are typed as followed:
|
|
6897
|
+
//
|
|
6898
|
+
// type Position = 'center' | 'left' | 'right' | 'top' | 'bottom';
|
|
6899
|
+
// type PositionX = 'center' | 'left' | 'right';
|
|
6900
|
+
// type PositionY = 'center' | 'top' | 'bottom';
|
|
6901
|
+
//
|
|
6902
|
+
// type BackgroundStyles = {
|
|
6903
|
+
// backgroundImage: string,
|
|
6904
|
+
// backgroundSize: 'contain' | 'cover' | string | number,
|
|
6905
|
+
// backgroundPosition: Position,
|
|
6906
|
+
// backgroundPositionX:
|
|
6907
|
+
// | PositionX
|
|
6908
|
+
// | { position: PositionX, offset: string | number },
|
|
6909
|
+
// backgroundPositionY:
|
|
6910
|
+
// | PositionY
|
|
6911
|
+
// | { position: PositionY, offset: string | number },
|
|
6912
|
+
// };
|
|
6913
|
+
|
|
6914
|
+
const styles$$ = reactNative.StyleSheet.create({
|
|
6901
6915
|
reset: {
|
|
6902
6916
|
// Background repeat is not supported on native yet.
|
|
6903
6917
|
backgroundRepeat: 'no-repeat'
|
|
@@ -6959,7 +6973,7 @@
|
|
|
6959
6973
|
function useBackgroundWeb(style) {
|
|
6960
6974
|
const flattenedStyle = reactNative.StyleSheet.flatten(style);
|
|
6961
6975
|
return {
|
|
6962
|
-
style: [flattenedStyle, styles
|
|
6976
|
+
style: [flattenedStyle, styles$$.reset, {
|
|
6963
6977
|
// Transform background size
|
|
6964
6978
|
backgroundSize: resolveBackgroundSize(flattenedStyle),
|
|
6965
6979
|
// Workaround, because some browsers do not support two-value syntax:
|
|
@@ -6972,198 +6986,6 @@
|
|
|
6972
6986
|
};
|
|
6973
6987
|
}
|
|
6974
6988
|
|
|
6975
|
-
const styles$$ = reactNative.StyleSheet.create({
|
|
6976
|
-
container: {
|
|
6977
|
-
overflow: 'hidden'
|
|
6978
|
-
},
|
|
6979
|
-
object: {
|
|
6980
|
-
aspectRatio: 1
|
|
6981
|
-
}
|
|
6982
|
-
});
|
|
6983
|
-
const horizontalPositions = {
|
|
6984
|
-
left: function () {
|
|
6985
|
-
let offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
6986
|
-
return {
|
|
6987
|
-
alignItems: reactNative.I18nManager.isRTL ? 'flex-end' : 'flex-start',
|
|
6988
|
-
paddingLeft: offset
|
|
6989
|
-
};
|
|
6990
|
-
},
|
|
6991
|
-
right: function () {
|
|
6992
|
-
let offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
6993
|
-
return {
|
|
6994
|
-
alignItems: reactNative.I18nManager.isRTL ? 'flex-start' : 'flex-end',
|
|
6995
|
-
paddingRight: offset
|
|
6996
|
-
};
|
|
6997
|
-
},
|
|
6998
|
-
center: offset => {
|
|
6999
|
-
if (offset !== undefined) {
|
|
7000
|
-
return null;
|
|
7001
|
-
}
|
|
7002
|
-
return {
|
|
7003
|
-
alignItems: 'center'
|
|
7004
|
-
};
|
|
7005
|
-
}
|
|
7006
|
-
};
|
|
7007
|
-
const verticalPositions = {
|
|
7008
|
-
top: function () {
|
|
7009
|
-
let offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
7010
|
-
return {
|
|
7011
|
-
justifyContent: 'flex-start',
|
|
7012
|
-
paddingTop: offset
|
|
7013
|
-
};
|
|
7014
|
-
},
|
|
7015
|
-
bottom: function () {
|
|
7016
|
-
let offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
7017
|
-
return {
|
|
7018
|
-
justifyContent: 'flex-end',
|
|
7019
|
-
paddingBottom: offset
|
|
7020
|
-
};
|
|
7021
|
-
},
|
|
7022
|
-
center: offset => {
|
|
7023
|
-
if (offset !== undefined) {
|
|
7024
|
-
return null;
|
|
7025
|
-
}
|
|
7026
|
-
return {
|
|
7027
|
-
justifyContent: 'center'
|
|
7028
|
-
};
|
|
7029
|
-
}
|
|
7030
|
-
};
|
|
7031
|
-
const getXml = value => {
|
|
7032
|
-
const match = value.match(/^url\("data:image\/svg\+xml,(.*?)"\)$/);
|
|
7033
|
-
if (!match) {
|
|
7034
|
-
return null;
|
|
7035
|
-
}
|
|
7036
|
-
return decodeURIComponent(match[1]);
|
|
7037
|
-
};
|
|
7038
|
-
const transforms = {
|
|
7039
|
-
backgroundSize(value) {
|
|
7040
|
-
if (value === 'cover') {
|
|
7041
|
-
return {
|
|
7042
|
-
width: '100%'
|
|
7043
|
-
// TODO: Support cover for views with height > width.
|
|
7044
|
-
// height: '100%',
|
|
7045
|
-
};
|
|
7046
|
-
}
|
|
7047
|
-
|
|
7048
|
-
if (value === 'contain') {
|
|
7049
|
-
return {
|
|
7050
|
-
width: '100%',
|
|
7051
|
-
height: '100%'
|
|
7052
|
-
};
|
|
7053
|
-
}
|
|
7054
|
-
const {
|
|
7055
|
-
width,
|
|
7056
|
-
height = width
|
|
7057
|
-
} = value;
|
|
7058
|
-
return {
|
|
7059
|
-
width,
|
|
7060
|
-
height
|
|
7061
|
-
};
|
|
7062
|
-
},
|
|
7063
|
-
backgroundPosition(value) {
|
|
7064
|
-
if (value === 'center') {
|
|
7065
|
-
return {
|
|
7066
|
-
alignItems: 'center',
|
|
7067
|
-
justifyContent: 'center'
|
|
7068
|
-
};
|
|
7069
|
-
}
|
|
7070
|
-
if (horizontalPositions[value]) {
|
|
7071
|
-
return _objectSpread2(_objectSpread2({}, horizontalPositions[value]()), {}, {
|
|
7072
|
-
justifyContent: 'center'
|
|
7073
|
-
});
|
|
7074
|
-
}
|
|
7075
|
-
if (verticalPositions[value]) {
|
|
7076
|
-
return _objectSpread2({
|
|
7077
|
-
alignItems: 'center'
|
|
7078
|
-
}, verticalPositions[value]());
|
|
7079
|
-
}
|
|
7080
|
-
return null;
|
|
7081
|
-
},
|
|
7082
|
-
backgroundPositionX(value) {
|
|
7083
|
-
const {
|
|
7084
|
-
position = 'left',
|
|
7085
|
-
offset
|
|
7086
|
-
} = typeof value === 'object' ? value : {
|
|
7087
|
-
position: value
|
|
7088
|
-
};
|
|
7089
|
-
if (!horizontalPositions[position]) {
|
|
7090
|
-
return null;
|
|
7091
|
-
}
|
|
7092
|
-
return horizontalPositions[position](offset);
|
|
7093
|
-
},
|
|
7094
|
-
backgroundPositionY(value) {
|
|
7095
|
-
const {
|
|
7096
|
-
position = 'top',
|
|
7097
|
-
offset
|
|
7098
|
-
} = typeof value === 'object' ? value : {
|
|
7099
|
-
position: value
|
|
7100
|
-
};
|
|
7101
|
-
if (!verticalPositions[position]) {
|
|
7102
|
-
return null;
|
|
7103
|
-
}
|
|
7104
|
-
return verticalPositions[position](offset);
|
|
7105
|
-
}
|
|
7106
|
-
};
|
|
7107
|
-
function useBackgroundNative(style) {
|
|
7108
|
-
const flattenedStyle = reactNative.StyleSheet.flatten(style);
|
|
7109
|
-
const background = {
|
|
7110
|
-
containerStyle: {},
|
|
7111
|
-
objectStyle: {},
|
|
7112
|
-
xml: null
|
|
7113
|
-
};
|
|
7114
|
-
Object.entries(flattenedStyle).forEach(_ref => {
|
|
7115
|
-
let [key, value] = _ref;
|
|
7116
|
-
if (!value) {
|
|
7117
|
-
return;
|
|
7118
|
-
}
|
|
7119
|
-
if (key === 'backgroundImage') {
|
|
7120
|
-
background.xml = getXml(value);
|
|
7121
|
-
} else if (key === 'backgroundSize') {
|
|
7122
|
-
Object.assign(background.objectStyle, transforms[key](value));
|
|
7123
|
-
} else if (key === 'backgroundPosition' || key === 'backgroundPositionX' || key === 'backgroundPositionY') {
|
|
7124
|
-
Object.assign(background.containerStyle, transforms[key](value));
|
|
7125
|
-
}
|
|
7126
|
-
});
|
|
7127
|
-
return {
|
|
7128
|
-
style: flattenedStyle,
|
|
7129
|
-
element: /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
7130
|
-
style: [reactNative.StyleSheet.absoluteFill, styles$$.container, background.containerStyle]
|
|
7131
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
|
|
7132
|
-
style: [styles$$.object, background.objectStyle]
|
|
7133
|
-
}, background.xml && /*#__PURE__*/React__default["default"].createElement(reactNativeSvg.SvgXml, {
|
|
7134
|
-
xml: background.xml
|
|
7135
|
-
})))
|
|
7136
|
-
};
|
|
7137
|
-
}
|
|
7138
|
-
|
|
7139
|
-
// The assumed background styles are typed as followed:
|
|
7140
|
-
//
|
|
7141
|
-
// type Position = 'center' | 'left' | 'right' | 'top' | 'bottom';
|
|
7142
|
-
// type PositionX = 'center' | 'left' | 'right';
|
|
7143
|
-
// type PositionY = 'center' | 'top' | 'bottom';
|
|
7144
|
-
//
|
|
7145
|
-
// type BackgroundStyles = {
|
|
7146
|
-
// backgroundImage: string,
|
|
7147
|
-
// backgroundSize: 'contain' | 'cover' | string | number,
|
|
7148
|
-
// backgroundPosition: Position,
|
|
7149
|
-
// backgroundPositionX:
|
|
7150
|
-
// | PositionX
|
|
7151
|
-
// | { position: PositionX, offset: string | number },
|
|
7152
|
-
// backgroundPositionY:
|
|
7153
|
-
// | PositionY
|
|
7154
|
-
// | { position: PositionY, offset: string | number },
|
|
7155
|
-
// };
|
|
7156
|
-
|
|
7157
|
-
function useBackground(style, styleName) {
|
|
7158
|
-
// TODO: Use *.web.js / *.native.js file endings to select platforms, but
|
|
7159
|
-
// before we need to make sure that the published bundles are all functional.
|
|
7160
|
-
const useBackgroundForPlatform = reactNative.Platform.select({
|
|
7161
|
-
web: useBackgroundWeb,
|
|
7162
|
-
default: useBackgroundNative
|
|
7163
|
-
});
|
|
7164
|
-
return useBackgroundForPlatform(style, styleName);
|
|
7165
|
-
}
|
|
7166
|
-
|
|
7167
6989
|
const _excluded$1e = ["children", "disabled", "style", "textStyle", "styleName"];
|
|
7168
6990
|
var _templateObject$_, _templateObject2$J, _templateObject3$o, _templateObject4$l, _templateObject5$i;
|
|
7169
6991
|
const propTypes$1i = {
|
|
@@ -7208,7 +7030,7 @@
|
|
|
7208
7030
|
interaction,
|
|
7209
7031
|
interactionProps
|
|
7210
7032
|
} = useInteractionState(elementProps);
|
|
7211
|
-
const background =
|
|
7033
|
+
const background = useBackgroundWeb(resolveStyle({
|
|
7212
7034
|
media,
|
|
7213
7035
|
interaction
|
|
7214
7036
|
}));
|
|
@@ -7296,8 +7118,8 @@
|
|
|
7296
7118
|
if (handlePress) handlePress(event);
|
|
7297
7119
|
context.setVisible(value => !value);
|
|
7298
7120
|
},
|
|
7299
|
-
|
|
7300
|
-
|
|
7121
|
+
'aria-expanded': context.visible,
|
|
7122
|
+
'aria-controls': context.identifier
|
|
7301
7123
|
});
|
|
7302
7124
|
}
|
|
7303
7125
|
|
|
@@ -7319,7 +7141,7 @@
|
|
|
7319
7141
|
}
|
|
7320
7142
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
7321
7143
|
ref: ref,
|
|
7322
|
-
|
|
7144
|
+
id: identifier
|
|
7323
7145
|
}), children);
|
|
7324
7146
|
});
|
|
7325
7147
|
Collapse.displayName = 'Collapse';
|
|
@@ -7399,7 +7221,7 @@
|
|
|
7399
7221
|
// eslint-disable-next-line react/forbid-prop-types
|
|
7400
7222
|
style: PropTypes.any,
|
|
7401
7223
|
// eslint-disable-next-line react/forbid-prop-types
|
|
7402
|
-
|
|
7224
|
+
id: PropTypes.any
|
|
7403
7225
|
};
|
|
7404
7226
|
const styles$Y = reactNative.StyleSheet.create({
|
|
7405
7227
|
reboot: {
|
|
@@ -7428,9 +7250,9 @@
|
|
|
7428
7250
|
onBlur = () => {},
|
|
7429
7251
|
disabled = false,
|
|
7430
7252
|
style,
|
|
7431
|
-
|
|
7253
|
+
id
|
|
7432
7254
|
} = props;
|
|
7433
|
-
const inputBackground =
|
|
7255
|
+
const inputBackground = useBackgroundWeb(style);
|
|
7434
7256
|
return /*#__PURE__*/React__default["default"].createElement(Input$1, {
|
|
7435
7257
|
ref: ref,
|
|
7436
7258
|
type: type === 'switch' ? 'checkbox' : type,
|
|
@@ -7442,7 +7264,7 @@
|
|
|
7442
7264
|
onBlur: onBlur,
|
|
7443
7265
|
disabled: disabled,
|
|
7444
7266
|
style: inputBackground.style,
|
|
7445
|
-
|
|
7267
|
+
id: id
|
|
7446
7268
|
});
|
|
7447
7269
|
});
|
|
7448
7270
|
FormCheckInputWeb.displayName = 'FormCheckInputWeb';
|
|
@@ -7459,7 +7281,7 @@
|
|
|
7459
7281
|
// eslint-disable-next-line react/forbid-prop-types
|
|
7460
7282
|
style: PropTypes.any,
|
|
7461
7283
|
// eslint-disable-next-line react/forbid-prop-types
|
|
7462
|
-
|
|
7284
|
+
id: PropTypes.any
|
|
7463
7285
|
};
|
|
7464
7286
|
const FormCheckInputNative = /*#__PURE__*/React__default["default"].forwardRef((props, ref) => {
|
|
7465
7287
|
const {
|
|
@@ -7471,13 +7293,13 @@
|
|
|
7471
7293
|
hitSlop = 8,
|
|
7472
7294
|
disabled = false,
|
|
7473
7295
|
style,
|
|
7474
|
-
|
|
7296
|
+
id
|
|
7475
7297
|
} = props;
|
|
7476
|
-
const inputBackground =
|
|
7298
|
+
const inputBackground = useBackgroundWeb(style);
|
|
7477
7299
|
return /*#__PURE__*/React__default["default"].createElement(Pressable, {
|
|
7478
7300
|
ref: ref,
|
|
7479
|
-
|
|
7480
|
-
|
|
7301
|
+
role: type,
|
|
7302
|
+
"aria-checked": value,
|
|
7481
7303
|
onPress: () => {
|
|
7482
7304
|
handleValueChange(!value);
|
|
7483
7305
|
},
|
|
@@ -7486,7 +7308,7 @@
|
|
|
7486
7308
|
hitSlop: hitSlop,
|
|
7487
7309
|
disabled: disabled,
|
|
7488
7310
|
style: inputBackground.style,
|
|
7489
|
-
|
|
7311
|
+
id: id
|
|
7490
7312
|
}, inputBackground.element);
|
|
7491
7313
|
});
|
|
7492
7314
|
FormCheckInputNative.displayName = 'FormCheckInputNative';
|
|
@@ -7512,7 +7334,7 @@
|
|
|
7512
7334
|
/* eslint-enable */
|
|
7513
7335
|
|
|
7514
7336
|
const styles$X = StyleSheet.create(_objectSpread2(_objectSpread2({
|
|
7515
|
-
'.form-check .form-check-input': css(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteral(["\n $margin-top-double: $
|
|
7337
|
+
'.form-check .form-check-input': css(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteral(["\n $height: $line-height-base * 1rem;\n $margin-top-double: $height - $form-check-input-width;\n\n // float: left;\n // margin-left: $form-check-padding-start * -1;\n margin-top: $margin-top-double * 0.5; // added for bootstrap-rn\n margin-right: $form-check-padding-start - $form-check-input-width; // added for bootstrap-rn\n "]))),
|
|
7516
7338
|
'.form-check-reverse .form-check-input': css(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteral(["\n // float: right;\n // margin-right: $form-check-padding-start * -1;\n margin-right: 0; // added for bootstrap-rn\n // margin-left: 0;\n margin-left: $form-check-padding-start - $form-check-input-width; // added for bootstrap-rn\n "]))),
|
|
7517
7339
|
'.form-check-input': css(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteral(["\n width: $form-check-input-width;\n height: $form-check-input-width;\n // margin-top: ($line-height-base - $form-check-input-width) * 0.5; // line-height minus check height\n // vertical-align: top;\n background-color: $form-check-input-bg;\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n border: $form-check-input-border;\n @include platform(web) {\n appearance: none;\n user-select: none; // added for bootstrap-rn\n color-adjust: exact; // Keep themed appearance for print\n }\n // @include transition($form-check-transition);\n\n &:active {\n // filter: $form-check-input-active-filter;\n }\n\n &:focus {\n border-color: $form-check-input-focus-border;\n @include platform(web) {\n outline-width: 0; // outline: 0;\n box-shadow: $form-check-input-focus-box-shadow;\n }\n }\n "]))),
|
|
7518
7340
|
'.form-check-input[type="checkbox"]': css(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteral(["\n border-radius: $form-check-input-border-radius;\n "]))),
|
|
@@ -7654,7 +7476,7 @@
|
|
|
7654
7476
|
const role = reactNative.Platform.OS === 'web' ? 'code' : null;
|
|
7655
7477
|
return /*#__PURE__*/React__default["default"].createElement(Text, _extends({}, elementProps, {
|
|
7656
7478
|
ref: ref,
|
|
7657
|
-
|
|
7479
|
+
role: role,
|
|
7658
7480
|
style: [classes, style]
|
|
7659
7481
|
}), children);
|
|
7660
7482
|
});
|
|
@@ -7673,14 +7495,14 @@
|
|
|
7673
7495
|
} = props,
|
|
7674
7496
|
restProps = _objectWithoutProperties(props, _excluded$16);
|
|
7675
7497
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
7676
|
-
|
|
7498
|
+
id: context.identifier,
|
|
7677
7499
|
ref: context.toggleRef,
|
|
7678
7500
|
onPress: event => {
|
|
7679
7501
|
if (handlePress) handlePress(event);
|
|
7680
7502
|
context.setVisible(value => !value);
|
|
7681
7503
|
},
|
|
7682
|
-
|
|
7683
|
-
|
|
7504
|
+
'aria-haspopup': true,
|
|
7505
|
+
'aria-expanded': context.visible,
|
|
7684
7506
|
caret: caret === undefined ? {
|
|
7685
7507
|
direction: context.direction
|
|
7686
7508
|
} : caret
|
|
@@ -7957,7 +7779,7 @@
|
|
|
7957
7779
|
autoClose: autoClose
|
|
7958
7780
|
}), /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
7959
7781
|
ref: concatRefs(dialogRef, ref),
|
|
7960
|
-
|
|
7782
|
+
"aria-labelledby": identifier,
|
|
7961
7783
|
style: [classes, style],
|
|
7962
7784
|
textStyle: [textClasses, textStyle]
|
|
7963
7785
|
}), children));
|
|
@@ -7976,7 +7798,7 @@
|
|
|
7976
7798
|
autoClose: autoClose
|
|
7977
7799
|
}), /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
7978
7800
|
ref: concatRefs(overlayRef, ref),
|
|
7979
|
-
|
|
7801
|
+
"aria-labelledby": identifier,
|
|
7980
7802
|
style: [classes, overlay.overlayProps.style, {
|
|
7981
7803
|
maxHeight: 'auto',
|
|
7982
7804
|
opacity: overlay.rendered ? 1 : 0
|
|
@@ -8012,8 +7834,8 @@
|
|
|
8012
7834
|
const classes = getStyles(styles$S, ['heading', ".h".concat(size)]);
|
|
8013
7835
|
return /*#__PURE__*/React__default["default"].createElement(Text, _extends({}, elementProps, {
|
|
8014
7836
|
ref: ref,
|
|
8015
|
-
|
|
8016
|
-
|
|
7837
|
+
role: "heading",
|
|
7838
|
+
"aria-level": size,
|
|
8017
7839
|
style: [classes, style]
|
|
8018
7840
|
}), children);
|
|
8019
7841
|
});
|
|
@@ -8321,7 +8143,7 @@
|
|
|
8321
8143
|
const role = reactNative.Platform.OS === 'web' ? 'label' : null;
|
|
8322
8144
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
8323
8145
|
ref: concatRefs(forRef, ref),
|
|
8324
|
-
|
|
8146
|
+
role: role
|
|
8325
8147
|
}), children);
|
|
8326
8148
|
});
|
|
8327
8149
|
Label.displayName = 'Label';
|
|
@@ -8522,7 +8344,7 @@
|
|
|
8522
8344
|
TextInput.displayName = 'TextInput';
|
|
8523
8345
|
TextInput.propTypes = propTypes$U;
|
|
8524
8346
|
|
|
8525
|
-
const _excluded$R = ["size", "placeholderTextColor", "multiline", "disabled", "valid", "invalid", "
|
|
8347
|
+
const _excluded$R = ["size", "placeholderTextColor", "multiline", "disabled", "valid", "invalid", "readOnly", "selectTextOnFocus", "style"];
|
|
8526
8348
|
var _templateObject$H, _templateObject2$w, _templateObject3$g, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$7, _templateObject8$7, _templateObject9$7, _templateObject10$7, _templateObject11$5;
|
|
8527
8349
|
const propTypes$T = {
|
|
8528
8350
|
size: PropTypes.oneOf(['sm', 'lg']),
|
|
@@ -8531,7 +8353,7 @@
|
|
|
8531
8353
|
disabled: PropTypes.bool,
|
|
8532
8354
|
valid: PropTypes.bool,
|
|
8533
8355
|
invalid: PropTypes.bool,
|
|
8534
|
-
|
|
8356
|
+
readOnly: PropTypes.bool,
|
|
8535
8357
|
selectTextOnFocus: PropTypes.bool,
|
|
8536
8358
|
// eslint-disable-next-line react/forbid-prop-types
|
|
8537
8359
|
style: PropTypes.any
|
|
@@ -8561,7 +8383,7 @@
|
|
|
8561
8383
|
'.form-control:not(textarea)': css(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteral(["\n @include platform(android) {\n height: $input-height; // added for bootstrap-rn\n }\n "]))),
|
|
8562
8384
|
'.form-control-sm:not(textarea)': css(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteral(["\n @include platform(android) {\n height: $input-height-sm; // added for bootstrap-rn\n }\n "]))),
|
|
8563
8385
|
'.form-control-lg:not(textarea)': css(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteral(["\n @include platform(android) {\n height: $input-height-lg; // added for bootstrap-rn\n }\n "]))),
|
|
8564
|
-
'textarea.form-control': css(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteral(["\n
|
|
8386
|
+
'textarea.form-control': css(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteral(["\n vertical-align: top; // added for bootstrap-rn\n min-height: $input-height;\n\n @include platform(ios) {\n min-height: $input-height-sm + 8rem; // added for bootstrap-rn\n }\n @include platform(native) {\n line-height: $input-font-size * $input-line-height; // added for bootstrap-rn\n }\n "]))),
|
|
8565
8387
|
'textarea.form-control-sm': css(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteral(["\n min-height: $input-height-sm;\n\n @include platform(ios) {\n // TODO: Adjust ios height to sm size\n min-height: $input-height-sm + 8rem; // added for bootstrap-rn\n }\n @include platform(native) {\n line-height: $input-font-size-sm * $line-height-base; // added for bootstrap-rn\n }\n "]))),
|
|
8566
8388
|
'textarea.form-control-lg': css(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteral(["\n min-height: $input-height-lg;\n\n @include platform(ios) {\n // TODO: Adjust ios height to lg size\n min-height: $input-height-sm + 8rem; // added for bootstrap-rn\n }\n @include platform(native) {\n line-height: $input-font-size-sm * $line-height-base; // added for bootstrap-rn\n }\n "])))
|
|
8567
8389
|
}, each(FORM_VALIDATION_STATES, (state, data) => ({
|
|
@@ -8576,7 +8398,7 @@
|
|
|
8576
8398
|
disabled = false,
|
|
8577
8399
|
valid = false,
|
|
8578
8400
|
invalid = false,
|
|
8579
|
-
|
|
8401
|
+
readOnly = false,
|
|
8580
8402
|
selectTextOnFocus = false,
|
|
8581
8403
|
style
|
|
8582
8404
|
} = modifierProps,
|
|
@@ -8587,7 +8409,7 @@
|
|
|
8587
8409
|
placeholderTextColor: placeholderTextColor,
|
|
8588
8410
|
multiline: multiline,
|
|
8589
8411
|
disabled: disabled,
|
|
8590
|
-
|
|
8412
|
+
readOnly: disabled ? true : readOnly,
|
|
8591
8413
|
selectTextOnFocus: disabled ? false : selectTextOnFocus,
|
|
8592
8414
|
style: [classes, style]
|
|
8593
8415
|
}));
|
|
@@ -8630,7 +8452,7 @@
|
|
|
8630
8452
|
targetProps: _objectSpread2(_objectSpread2({
|
|
8631
8453
|
ref: concatRefs(targetRef, ref)
|
|
8632
8454
|
}, optional(visible, {
|
|
8633
|
-
|
|
8455
|
+
'aria-describedby': identifier
|
|
8634
8456
|
})), {}, {
|
|
8635
8457
|
onPress: event => {
|
|
8636
8458
|
const handleHoverAsPress = (reactNative.Platform.OS === 'android' || reactNative.Platform.OS === 'ios') && trigger.includes('hover');
|
|
@@ -8690,7 +8512,7 @@
|
|
|
8690
8512
|
}),
|
|
8691
8513
|
targetRef,
|
|
8692
8514
|
templateProps: {
|
|
8693
|
-
|
|
8515
|
+
id: identifier
|
|
8694
8516
|
}
|
|
8695
8517
|
};
|
|
8696
8518
|
}
|
|
@@ -8851,7 +8673,7 @@
|
|
|
8851
8673
|
const role = reactNative.Platform.OS === 'web' ? 'tooltip' : null;
|
|
8852
8674
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
8853
8675
|
ref: ref,
|
|
8854
|
-
|
|
8676
|
+
role: role,
|
|
8855
8677
|
style: [classes, style],
|
|
8856
8678
|
textStyle: [textClasses, textStyle]
|
|
8857
8679
|
}), /*#__PURE__*/React__default["default"].createElement(PopoverContext.Provider, {
|
|
@@ -9048,7 +8870,7 @@
|
|
|
9048
8870
|
const role = reactNative.Platform.OS === 'web' ? 'tooltip' : null;
|
|
9049
8871
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
9050
8872
|
ref: ref,
|
|
9051
|
-
|
|
8873
|
+
role: role,
|
|
9052
8874
|
style: [classes, style],
|
|
9053
8875
|
textStyle: [textClasses, textStyle]
|
|
9054
8876
|
}), /*#__PURE__*/React__default["default"].createElement(TooltipContext.Provider, {
|
|
@@ -9224,7 +9046,7 @@
|
|
|
9224
9046
|
const role = reactNative.Platform.OS === 'web' ? 'listitem' : null;
|
|
9225
9047
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
9226
9048
|
ref: ref,
|
|
9227
|
-
|
|
9049
|
+
role: role,
|
|
9228
9050
|
style: [classes, style],
|
|
9229
9051
|
textStyle: [textClasses, textStyle]
|
|
9230
9052
|
}), children);
|
|
@@ -9285,7 +9107,7 @@
|
|
|
9285
9107
|
const role = reactNative.Platform.OS === 'web' ? 'listitem' : null;
|
|
9286
9108
|
return /*#__PURE__*/React__default["default"].createElement(Pressable, _extends({}, elementProps, {
|
|
9287
9109
|
ref: modifierRef,
|
|
9288
|
-
|
|
9110
|
+
role: role,
|
|
9289
9111
|
active: active,
|
|
9290
9112
|
disabled: disabled,
|
|
9291
9113
|
style: [...classes, style],
|
|
@@ -9332,7 +9154,7 @@
|
|
|
9332
9154
|
const tabbable = false;
|
|
9333
9155
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
9334
9156
|
ref: ref,
|
|
9335
|
-
|
|
9157
|
+
role: getRole$1(tabbable),
|
|
9336
9158
|
style: [classes, style]
|
|
9337
9159
|
}), /*#__PURE__*/React__default["default"].createElement(ListGroupContext.Provider, {
|
|
9338
9160
|
value: {
|
|
@@ -9394,7 +9216,7 @@
|
|
|
9394
9216
|
handleMouseLeaveInteraction(event);
|
|
9395
9217
|
},
|
|
9396
9218
|
ref: actionRef,
|
|
9397
|
-
|
|
9219
|
+
role: getRole$2(actionProps),
|
|
9398
9220
|
accessible: true,
|
|
9399
9221
|
style: resolveStyle({
|
|
9400
9222
|
media,
|
|
@@ -9859,7 +9681,7 @@
|
|
|
9859
9681
|
navbar && '.navbar-nav', navbar && navbar.expand && ".navbar-expand".concat(navbar.expand === true ? '' : "-".concat(navbar.expand), " .navbar-nav")]);
|
|
9860
9682
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
9861
9683
|
ref: ref,
|
|
9862
|
-
|
|
9684
|
+
role: getRole(tabbable, navbar),
|
|
9863
9685
|
style: [classes, style]
|
|
9864
9686
|
}), /*#__PURE__*/React__default["default"].createElement(NavContext.Provider, {
|
|
9865
9687
|
value: {
|
|
@@ -9990,14 +9812,14 @@
|
|
|
9990
9812
|
} = props,
|
|
9991
9813
|
restProps = _objectWithoutProperties(props, _excluded$q);
|
|
9992
9814
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
9993
|
-
|
|
9815
|
+
id: context.identifier,
|
|
9994
9816
|
onPress: event => {
|
|
9995
9817
|
if (handlePress) handlePress(event);
|
|
9996
9818
|
context.setExpanded(value => !value);
|
|
9997
9819
|
},
|
|
9998
9820
|
accessibilitControls: context.identifier,
|
|
9999
|
-
|
|
10000
|
-
|
|
9821
|
+
'aria-expanded': context.expanded,
|
|
9822
|
+
'aria-label': 'Toggle navigation'
|
|
10001
9823
|
});
|
|
10002
9824
|
}
|
|
10003
9825
|
|
|
@@ -10041,7 +9863,7 @@
|
|
|
10041
9863
|
const textClasses = getStyles(styles$l, ['.navbar-toggler --text', ".navbar-".concat(variant, " .navbar-toggler --text")]);
|
|
10042
9864
|
const iconClasses = getStyles(styles$l, ['.navbar-toggler-icon', ".navbar-".concat(variant, " .navbar-toggler-icon")]);
|
|
10043
9865
|
const resolveIconStyle = useStyle([iconClasses, iconStyle]);
|
|
10044
|
-
const background =
|
|
9866
|
+
const background = useBackgroundWeb(resolveIconStyle({
|
|
10045
9867
|
media
|
|
10046
9868
|
}));
|
|
10047
9869
|
return /*#__PURE__*/React__default["default"].createElement(Pressable, _extends({}, elementProps, {
|
|
@@ -10080,7 +9902,7 @@
|
|
|
10080
9902
|
if (handlePress) handlePress(event);
|
|
10081
9903
|
context.setExpanded(false);
|
|
10082
9904
|
},
|
|
10083
|
-
|
|
9905
|
+
'aria-label': 'Close'
|
|
10084
9906
|
});
|
|
10085
9907
|
}
|
|
10086
9908
|
|
|
@@ -10369,7 +10191,7 @@
|
|
|
10369
10191
|
style
|
|
10370
10192
|
} = props,
|
|
10371
10193
|
elementProps = _objectWithoutProperties(props, _excluded$i);
|
|
10372
|
-
const background =
|
|
10194
|
+
const background = useBackgroundWeb(style);
|
|
10373
10195
|
const showPlaceholder = selectedValue === undefined || selectedValue === null;
|
|
10374
10196
|
return /*#__PURE__*/React__default["default"].createElement(reactNative.Picker, _extends({}, elementProps, {
|
|
10375
10197
|
ref: ref,
|
|
@@ -10477,7 +10299,7 @@
|
|
|
10477
10299
|
style
|
|
10478
10300
|
} = props,
|
|
10479
10301
|
elementProps = _objectWithoutProperties(props, _excluded$h);
|
|
10480
|
-
const background =
|
|
10302
|
+
const background = useBackgroundWeb(style);
|
|
10481
10303
|
const [visible, setVisible] = React.useState(false);
|
|
10482
10304
|
const textStyle = extractTextStyles(background.style);
|
|
10483
10305
|
const showPlaceholder = selectedValue === undefined || selectedValue === null;
|
|
@@ -10490,7 +10312,7 @@
|
|
|
10490
10312
|
};
|
|
10491
10313
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Pressable, _extends({}, elementProps, {
|
|
10492
10314
|
ref: ref,
|
|
10493
|
-
|
|
10315
|
+
role: "combobox",
|
|
10494
10316
|
onPress: () => {
|
|
10495
10317
|
setVisible(true);
|
|
10496
10318
|
},
|
|
@@ -10571,7 +10393,7 @@
|
|
|
10571
10393
|
onPress: () => {
|
|
10572
10394
|
handleValueChange(value);
|
|
10573
10395
|
},
|
|
10574
|
-
|
|
10396
|
+
"aria-selected": selected,
|
|
10575
10397
|
disabled: disabled,
|
|
10576
10398
|
style: resolveStyle({
|
|
10577
10399
|
media
|
|
@@ -10763,10 +10585,10 @@
|
|
|
10763
10585
|
// composite component
|
|
10764
10586
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
10765
10587
|
ref: ref,
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10588
|
+
role: "progressbar",
|
|
10589
|
+
"aria-valuenow": value,
|
|
10590
|
+
"aria-valuemin": min,
|
|
10591
|
+
"aria-valuemax": max,
|
|
10770
10592
|
style: [classes, style, {
|
|
10771
10593
|
width: "".concat(getPercentage(value, min, max), "%")
|
|
10772
10594
|
}]
|
|
@@ -10848,7 +10670,7 @@
|
|
|
10848
10670
|
const role = reactNative.Platform.OS === 'web' ? 'paragraph' : null;
|
|
10849
10671
|
return /*#__PURE__*/React__default["default"].createElement(Text, _extends({}, elementProps, {
|
|
10850
10672
|
ref: ref,
|
|
10851
|
-
|
|
10673
|
+
role: role,
|
|
10852
10674
|
style: [classes, style]
|
|
10853
10675
|
}), children);
|
|
10854
10676
|
});
|
|
@@ -10891,7 +10713,7 @@
|
|
|
10891
10713
|
const role = reactNative.Platform.OS === 'web' ? 'listitem' : null;
|
|
10892
10714
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
10893
10715
|
ref: ref,
|
|
10894
|
-
|
|
10716
|
+
role: role,
|
|
10895
10717
|
style: [classes, style],
|
|
10896
10718
|
textStyle: [textClasses, textStyle]
|
|
10897
10719
|
}), children);
|
|
@@ -10899,43 +10721,43 @@
|
|
|
10899
10721
|
PaginationItem.displayName = 'PaginationItem';
|
|
10900
10722
|
PaginationItem.propTypes = propTypes$c;
|
|
10901
10723
|
|
|
10902
|
-
/*
|
|
10903
|
-
$pagination-padding-y: .375rem;
|
|
10904
|
-
$pagination-padding-x: .75rem;
|
|
10905
|
-
$pagination-padding-y-sm: .25rem;
|
|
10906
|
-
$pagination-padding-x-sm: .5rem;
|
|
10907
|
-
$pagination-padding-y-lg: .75rem;
|
|
10908
|
-
$pagination-padding-x-lg: 1.5rem;
|
|
10909
|
-
|
|
10910
|
-
$pagination-color: $link-color;
|
|
10911
|
-
$pagination-bg: $white;
|
|
10912
|
-
$pagination-border-width: $border-width;
|
|
10913
|
-
$pagination-border-radius: $border-radius;
|
|
10914
|
-
$pagination-margin-start: -$pagination-border-width;
|
|
10915
|
-
$pagination-border-color: $gray-300;
|
|
10916
|
-
|
|
10917
|
-
$pagination-focus-color: $link-hover-color;
|
|
10918
|
-
$pagination-focus-bg: $gray-200;
|
|
10919
|
-
$pagination-focus-box-shadow: $input-btn-focus-box-shadow;
|
|
10920
|
-
$pagination-focus-outline: 0;
|
|
10921
|
-
|
|
10922
|
-
$pagination-hover-color: $link-hover-color;
|
|
10923
|
-
$pagination-hover-bg: $gray-200;
|
|
10924
|
-
$pagination-hover-border-color: $gray-300;
|
|
10925
|
-
|
|
10926
|
-
$pagination-active-color: $component-active-color;
|
|
10927
|
-
$pagination-active-bg: $component-active-bg;
|
|
10928
|
-
$pagination-active-border-color: $pagination-active-bg;
|
|
10929
|
-
|
|
10930
|
-
$pagination-disabled-color: $gray-600;
|
|
10931
|
-
$pagination-disabled-bg: $white;
|
|
10932
|
-
$pagination-disabled-border-color: $gray-300;
|
|
10933
|
-
|
|
10934
|
-
$pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
|
10935
|
-
|
|
10936
|
-
$pagination-border-radius-sm: $border-radius-sm;
|
|
10937
|
-
$pagination-border-radius-lg: $border-radius-lg;
|
|
10938
|
-
|
|
10724
|
+
/*
|
|
10725
|
+
$pagination-padding-y: .375rem;
|
|
10726
|
+
$pagination-padding-x: .75rem;
|
|
10727
|
+
$pagination-padding-y-sm: .25rem;
|
|
10728
|
+
$pagination-padding-x-sm: .5rem;
|
|
10729
|
+
$pagination-padding-y-lg: .75rem;
|
|
10730
|
+
$pagination-padding-x-lg: 1.5rem;
|
|
10731
|
+
|
|
10732
|
+
$pagination-color: $link-color;
|
|
10733
|
+
$pagination-bg: $white;
|
|
10734
|
+
$pagination-border-width: $border-width;
|
|
10735
|
+
$pagination-border-radius: $border-radius;
|
|
10736
|
+
$pagination-margin-start: -$pagination-border-width;
|
|
10737
|
+
$pagination-border-color: $gray-300;
|
|
10738
|
+
|
|
10739
|
+
$pagination-focus-color: $link-hover-color;
|
|
10740
|
+
$pagination-focus-bg: $gray-200;
|
|
10741
|
+
$pagination-focus-box-shadow: $input-btn-focus-box-shadow;
|
|
10742
|
+
$pagination-focus-outline: 0;
|
|
10743
|
+
|
|
10744
|
+
$pagination-hover-color: $link-hover-color;
|
|
10745
|
+
$pagination-hover-bg: $gray-200;
|
|
10746
|
+
$pagination-hover-border-color: $gray-300;
|
|
10747
|
+
|
|
10748
|
+
$pagination-active-color: $component-active-color;
|
|
10749
|
+
$pagination-active-bg: $component-active-bg;
|
|
10750
|
+
$pagination-active-border-color: $pagination-active-bg;
|
|
10751
|
+
|
|
10752
|
+
$pagination-disabled-color: $gray-600;
|
|
10753
|
+
$pagination-disabled-bg: $white;
|
|
10754
|
+
$pagination-disabled-border-color: $gray-300;
|
|
10755
|
+
|
|
10756
|
+
$pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
|
10757
|
+
|
|
10758
|
+
$pagination-border-radius-sm: $border-radius-sm;
|
|
10759
|
+
$pagination-border-radius-lg: $border-radius-lg;
|
|
10760
|
+
|
|
10939
10761
|
*/
|
|
10940
10762
|
|
|
10941
10763
|
const _excluded$a = ["children", "style"];
|
|
@@ -10959,7 +10781,7 @@
|
|
|
10959
10781
|
const role = reactNative.Platform.OS === 'web' ? 'list' : null;
|
|
10960
10782
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
10961
10783
|
ref: ref,
|
|
10962
|
-
|
|
10784
|
+
role: role,
|
|
10963
10785
|
style: [classes, style]
|
|
10964
10786
|
}), list);
|
|
10965
10787
|
});
|
|
@@ -10987,7 +10809,7 @@
|
|
|
10987
10809
|
elementProps = _objectWithoutProperties(props, _excluded$9);
|
|
10988
10810
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
10989
10811
|
ref: ref,
|
|
10990
|
-
|
|
10812
|
+
role: "radiogroup"
|
|
10991
10813
|
}), /*#__PURE__*/React__default["default"].createElement(RadioContext.Provider, {
|
|
10992
10814
|
value: {
|
|
10993
10815
|
selectedValue,
|
|
@@ -11088,21 +10910,17 @@
|
|
|
11088
10910
|
switch (variant) {
|
|
11089
10911
|
case 'border':
|
|
11090
10912
|
return {
|
|
11091
|
-
transform:
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
})
|
|
11096
|
-
}]
|
|
10913
|
+
transform: animation.interpolate({
|
|
10914
|
+
inputRange: [0, 1],
|
|
10915
|
+
outputRange: ['rotate(0deg)', 'rotate(360deg)']
|
|
10916
|
+
})
|
|
11097
10917
|
};
|
|
11098
10918
|
case 'grow':
|
|
11099
10919
|
return {
|
|
11100
|
-
transform:
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
-
})
|
|
11105
|
-
}],
|
|
10920
|
+
transform: animation.interpolate({
|
|
10921
|
+
inputRange: [0, 0.5, 1],
|
|
10922
|
+
outputRange: ['scale(0)', 'scale(1)', 'scale(1)']
|
|
10923
|
+
}),
|
|
11106
10924
|
opacity: animation.interpolate({
|
|
11107
10925
|
inputRange: [0, 0.5, 1],
|
|
11108
10926
|
outputRange: [0, 1, 0]
|
|
@@ -11134,8 +10952,8 @@
|
|
|
11134
10952
|
}, []);
|
|
11135
10953
|
return /*#__PURE__*/React__default["default"].createElement(AnimatedView, _extends({}, elementProps, {
|
|
11136
10954
|
ref: ref,
|
|
11137
|
-
|
|
11138
|
-
|
|
10955
|
+
role: role,
|
|
10956
|
+
"aria-hidden": true,
|
|
11139
10957
|
style: [classes, getAnimationStyle(variant, animation), style]
|
|
11140
10958
|
}));
|
|
11141
10959
|
});
|
|
@@ -11211,9 +11029,9 @@
|
|
|
11211
11029
|
const role = reactNative.Platform.OS === 'web' ? 'tabpanel' : null;
|
|
11212
11030
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
11213
11031
|
ref: ref,
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11032
|
+
id: id,
|
|
11033
|
+
role: role,
|
|
11034
|
+
"aria-labelledby": "".concat(id, "-tab"),
|
|
11217
11035
|
style: [classes, style]
|
|
11218
11036
|
}));
|
|
11219
11037
|
});
|
|
@@ -11232,16 +11050,16 @@
|
|
|
11232
11050
|
const id = getElementId(context.identifier, target);
|
|
11233
11051
|
const active = context.activeTarget === target;
|
|
11234
11052
|
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
11235
|
-
|
|
11053
|
+
id: "".concat(id, "-tab"),
|
|
11236
11054
|
onPress: event => {
|
|
11237
11055
|
if (handlePress) handlePress(event);
|
|
11238
11056
|
event.preventDefault();
|
|
11239
11057
|
context.setActiveTarget(target);
|
|
11240
11058
|
},
|
|
11241
11059
|
active,
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11060
|
+
role: 'tab',
|
|
11061
|
+
'aria-controls': id,
|
|
11062
|
+
'aria-selected': active
|
|
11245
11063
|
});
|
|
11246
11064
|
}
|
|
11247
11065
|
|
|
@@ -11344,9 +11162,9 @@
|
|
|
11344
11162
|
const textClasses = getStyles(styles$1, ['.toast --text']);
|
|
11345
11163
|
return /*#__PURE__*/React__default["default"].createElement(View, _extends({}, elementProps, {
|
|
11346
11164
|
ref: ref,
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11165
|
+
role: "alert",
|
|
11166
|
+
"aria-live": "assertive",
|
|
11167
|
+
"aria-atomic": true,
|
|
11350
11168
|
style: [classes, style],
|
|
11351
11169
|
textStyle: [textClasses, textStyle]
|
|
11352
11170
|
}), children);
|