@carbonorm/carbonreact 1.0.8 → 1.0.9
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/{CarbonReact.umd.css → CarbonReact.cjs.css} +1 -1
- package/dist/{CarbonReact.umd.css.map → CarbonReact.cjs.css.map} +1 -1
- package/dist/CarbonReact.cjs.js +4659 -0
- package/dist/CarbonReact.cjs.js.map +1 -0
- package/package.json +4 -2
- package/src/CarbonReact.tsx +136 -0
- package/src/components/Alert/Alert.tsx +210 -0
- package/src/components/Errors/AccessDenied.tsx +32 -0
- package/src/components/Errors/BackendThrowable.tsx +44 -0
- package/src/components/Errors/ErrorHttpCode.tsx +31 -0
- package/src/components/Errors/Localhost.tsx +38 -0
- package/src/components/Errors/PageNotFound.tsx +16 -0
- package/src/components/Errors/style.module.css +108 -0
- package/src/components/Errors/style.module.css.d.ts +34 -0
- package/src/components/Errors/style.module.css.map +1 -0
- package/src/components/Errors/style.module.scss +111 -0
- package/src/components/Errors/style.module.scss.d.ts +34 -0
- package/src/components/Errors/style.module.scss.json +1 -0
- package/src/components/Loading/Loading.tsx +37 -0
- package/src/components/Nest/Nest.tsx +241 -0
- package/src/components/Popup/Popup.tsx +55 -0
- package/src/custom.d.ts +47 -0
- package/src/hoc/GlobalHistory.tsx +11 -0
- package/src/hoc/addValidSQL.tsx +6 -0
- package/src/hoc/axiosInstance.tsx +494 -0
- package/src/hoc/changed.tsx +58 -0
- package/src/hoc/deleteRestfulObjectArrays.tsx +25 -0
- package/src/hoc/getStyles.tsx +44 -0
- package/src/hoc/hexToRgb.tsx +15 -0
- package/src/hoc/isEdgeBrowser.tsx +7 -0
- package/src/hoc/parseMultipleJson.tsx +49 -0
- package/src/hoc/scrollIntoView.tsx +6 -0
- package/src/hoc/setUrl.tsx +49 -0
- package/src/hoc/updateRestfulObjectArrays.tsx +92 -0
- package/src/hoc/uploadImage.tsx +99 -0
- package/src/hoc/windowDimensions.tsx +24 -0
- package/src/index.ts +53 -0
- package/src/style.module.css +261 -0
- package/src/style.module.css.d.ts +44 -0
- package/src/style.module.css.json +1 -0
- package/src/style.module.css.map +1 -0
- package/src/style.module.scss +269 -0
- package/src/style.module.scss.d.ts +44 -0
- package/src/variables/C6.tsx +3317 -0
- package/src/variables/bootstrap.module.css +12802 -0
- package/src/variables/bootstrap.module.css.d.ts +7736 -0
- package/src/variables/bootstrap.module.css.json +1 -0
- package/src/variables/bootstrap.module.css.map +1 -0
- package/src/variables/bootstrap.module.scss +37 -0
- package/src/variables/bootstrap.module.scss.d.ts +7736 -0
- package/src/variables/isProduction.tsx +5 -0
- package/dist/CarbonReact.umd.js +0 -4653
- package/dist/CarbonReact.umd.js.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Drop-In Gaming
|
|
2
|
+
* @link https://stackoverflow.com/questions/57331645/how-to-get-value-of-grid-breakpoint-variable
|
|
3
|
+
* @link https://stackoverflow.com/questions/48924751/how-to-create-new-breakpoints-in-bootstrap-4-using-cdn
|
|
4
|
+
* import what we need to override
|
|
5
|
+
* TODO - test $grid-breakpoints
|
|
6
|
+
**/
|
|
7
|
+
@import "../../node_modules/bootstrap/scss/_functions.scss";
|
|
8
|
+
@import "../../node_modules/bootstrap/scss/_variables.scss";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Set the overriding variables
|
|
12
|
+
* @link https://getbootstrap.com/docs/5.2/layout/grid/#:~:text=Grid%20breakpoints%20are%20based%20on,not%20the%20first%20xs%20breakpoint)
|
|
13
|
+
* @link https://stackoverflow.com/questions/37490537/twitter-bootstrap-add-media-queries-for-xxs-breakpoint
|
|
14
|
+
**/
|
|
15
|
+
|
|
16
|
+
$grid-breakpoints: (
|
|
17
|
+
xxs: 0,
|
|
18
|
+
xs: 375px,
|
|
19
|
+
sm: 576px,
|
|
20
|
+
md: 768px,
|
|
21
|
+
lg: 992px,
|
|
22
|
+
xl: 1200px,
|
|
23
|
+
xxl: 1400px
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
$container-max-widths: (
|
|
27
|
+
xxs: 374px,
|
|
28
|
+
xs: 375px, // idk someone help - @link https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Displays/Displays.html
|
|
29
|
+
sm: 576px,
|
|
30
|
+
md: 768px,
|
|
31
|
+
lg: 992px,
|
|
32
|
+
xl: 1200px,
|
|
33
|
+
xxl: 1400px
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
/* override the !default vars with the values we set above */
|
|
37
|
+
@import "../../node_modules/bootstrap/scss/bootstrap";
|