@cerebruminc/cerebellum 16.10.1 → 16.11.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.
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var _tslib = require('./_tslib-v5LAlAke.js');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var colors = require('./colors-WxmmYF4Q.js');
6
+ var IconComponentStyles = require('./IconComponentStyles-DHeDBrZd.js');
7
+ require('./colors.cjs');
8
+ require('./pressedEnter.cjs');
9
+ require('styled-components');
10
+
11
+ var Accessibility = function (props) {
12
+ var _a = props.boxed, boxed = _a === void 0 ? false : _a, _b = props.boxedSize, boxedSize = _b === void 0 ? 67 : _b, boxColor = props.boxColor, _c = props.fill, fill = _c === void 0 ? "currentColor" : _c, _d = props.round, round = _d === void 0 ? false : _d, _e = props.scale, scale = _e === void 0 ? 1 : _e, title = props.title;
13
+ var Container = boxed || round ? IconComponentStyles.IconBox : IconComponentStyles.BoringSpan;
14
+ var InnerContainer = boxed || round ? IconComponentStyles.InnerIconBox : IconComponentStyles.BoringSpan;
15
+ return (jsxRuntime.jsx(Container, { "$boxedSize": boxedSize, children: jsxRuntime.jsx(InnerContainer, { "$boxColor": boxColor !== null && boxColor !== void 0 ? boxColor : colors.boxColorLookup(fill), "$round": round, "$paddingString": round ? "35%" : "25.4%", children: jsxRuntime.jsxs(IconComponentStyles.Svg, _tslib.__assign({ version: "1.1", x: "0px", y: "0px", role: "img" }, (title ? { "aria-labelledby": "accessibility-icon-title-id" } : { "aria-hidden": "true" }), { viewBox: "0 0 512 512", scale: scale, children: [title && jsxRuntime.jsx("title", { id: "accessibility-icon-title-id", children: title }), jsxRuntime.jsx("path", { fill: fill, fillRule: "evenodd", d: "m256 112c30.9 0 56-25.1 56-56s-25.1-56-56-56-56 25.1-56 56 25.1 56 56 56z" }), jsxRuntime.jsx("path", { fill: fill, fillRule: "evenodd", d: "m432 112.8-.5.1-.4.1c-1 .3-2 .6-3 .9-18.6 5.5-108.9 30.9-172.6 30.9-59.1 0-141.3-22-167.6-29.5-2.6-1-5.3-1.9-8-2.6-19-5-32 14.3-32 31.9 0 17.5 15.7 25.8 31.5 31.8v.3l95.2 29.7c9.7 3.7 12.3 7.5 13.6 10.8 4.1 10.6.8 31.6-.3 38.9l-5.8 45-32.1 176.3c-.1.5-.2 1-.3 1.5l-.2 1.3c-2.3 16.1 9.5 31.8 32 31.8 19.6 0 28.3-13.5 32-31.9 0 0 28-157.6 42-157.6s42.8 157.6 42.8 157.6c3.8 18.4 12.4 31.9 32 31.9 22.5 0 34.4-15.7 32-31.9-.2-1.4-.5-2.7-.8-4.1l-32.5-174.7-5.8-45c-4.2-26.2-.8-34.9.3-36.9 0 0 .1-.1.1-.2 1.1-2 6-6.5 17.5-10.8l89.3-31.2c.5-.1 1.1-.3 1.6-.5 16-6 32-14.3 32-31.9s-13-37-32-32z" })] })) }) }));
16
+ };
17
+
18
+ exports.Accessibility = Accessibility;
19
+ //# sourceMappingURL=Accessibility.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accessibility.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
package/lib/cjs/index.cjs CHANGED
@@ -179,6 +179,7 @@ var compressImage = require('./compressImage.cjs');
179
179
  var convertHEICtoPNG = require('./convertHEICtoPNG.cjs');
180
180
  var cardValidationStateMachine = require('./cardValidationStateMachine.cjs');
181
181
  var ThemeProvider = require('./ThemeProvider.cjs');
182
+ var Accessibility = require('./Accessibility.cjs');
182
183
  var AltIdBack = require('./AltIdBack.cjs');
183
184
  var AltIdFront = require('./AltIdFront.cjs');
184
185
  var Arrow = require('./Arrow.cjs');
@@ -19003,6 +19004,7 @@ exports.convertHEICtoPNG = convertHEICtoPNG.convertHEICtoPNG;
19003
19004
  exports.cardValidationStateMachine = cardValidationStateMachine.cardValidationStateMachine;
19004
19005
  exports.luhnCreditCardCheck = cardValidationStateMachine.luhnCreditCardCheck;
19005
19006
  exports.ThemeProvider = ThemeProvider.ThemeProvider;
19007
+ exports.Accessibility = Accessibility.Accessibility;
19006
19008
  exports.AltIdBack = AltIdBack.AltIdBack;
19007
19009
  exports.AltIdFront = AltIdFront.AltIdFront;
19008
19010
  exports.Arrow = Arrow.Arrow;