mozrest-sdk-react-dev 0.3.14 → 0.3.16

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/mozrest-sdk.es.js CHANGED
@@ -59157,22 +59157,22 @@ const reInit = (el, props) => {
59157
59157
  el.litePickerInstance.destroy();
59158
59158
  init$2(el, props);
59159
59159
  };
59160
- const inputWrapper = "_inputWrapper_1vi07_1";
59161
- const input$4 = "_input_1vi07_1";
59162
- const inputIcon = "_inputIcon_1vi07_75";
59160
+ const inputWrapper = "_inputWrapper_1i9tl_1";
59161
+ const input$4 = "_input_1i9tl_1";
59162
+ const inputIcon = "_inputIcon_1i9tl_75";
59163
59163
  const styles$1p = {
59164
59164
  inputWrapper,
59165
59165
  input: input$4,
59166
- "input--r-md": "_input--r-md_1vi07_37",
59167
- "input--r-sm": "_input--r-sm_1vi07_42",
59168
- "input--with-icon-left": "_input--with-icon-left_1vi07_47",
59169
- "input--with-icon-right": "_input--with-icon-right_1vi07_50",
59170
- "input--filled": "_input--filled_1vi07_53",
59171
- "input--borderless": "_input--borderless_1vi07_56",
59172
- "input--rounded": "_input--rounded_1vi07_60",
59166
+ "input--r-md": "_input--r-md_1i9tl_37",
59167
+ "input--r-sm": "_input--r-sm_1i9tl_42",
59168
+ "input--with-icon-left": "_input--with-icon-left_1i9tl_47",
59169
+ "input--with-icon-right": "_input--with-icon-right_1i9tl_50",
59170
+ "input--filled": "_input--filled_1i9tl_53",
59171
+ "input--borderless": "_input--borderless_1i9tl_56",
59172
+ "input--rounded": "_input--rounded_1i9tl_60",
59173
59173
  inputIcon,
59174
- "inputIcon--p-left": "_inputIcon--p-left_1vi07_84",
59175
- "inputIcon--p-right": "_inputIcon--p-right_1vi07_87"
59174
+ "inputIcon--p-left": "_inputIcon--p-left_1i9tl_84",
59175
+ "inputIcon--p-right": "_inputIcon--p-right_1i9tl_87"
59176
59176
  };
59177
59177
  const Input$2 = React__default.forwardRef(({
59178
59178
  id: id2,
@@ -126747,30 +126747,30 @@ function Main$1({
126747
126747
  })
126748
126748
  });
126749
126749
  }
126750
- const mainConatiner = "_mainConatiner_pybf6_64";
126751
- const header$1 = "_header_pybf6_75";
126752
- const sectionCard = "_sectionCard_pybf6_94";
126753
- const cardHeader = "_cardHeader_pybf6_98";
126754
- const cardTitle = "_cardTitle_pybf6_101";
126755
- const cardDesc = "_cardDesc_pybf6_105";
126756
- const cardBody = "_cardBody_pybf6_109";
126757
- const cardFooter = "_cardFooter_pybf6_113";
126758
- const cardFooterContent = "_cardFooterContent_pybf6_113";
126759
- const sectionManagement = "_sectionManagement_pybf6_125";
126760
- const sectionFormRow = "_sectionFormRow_pybf6_125";
126761
- const drawerContent = "_drawerContent_pybf6_132";
126762
- const scrollableForm = "_scrollableForm_pybf6_137";
126763
- const fixedActions = "_fixedActions_pybf6_143";
126764
- const specialDatesInfoText = "_specialDatesInfoText_pybf6_152";
126765
- const deleteIcon = "_deleteIcon_pybf6_166";
126766
- const stripeConnectContainer = "_stripeConnectContainer_pybf6_171";
126767
- const paymentGatewayContainer = "_paymentGatewayContainer_pybf6_179";
126768
- const paymentRules = "_paymentRules_pybf6_185";
126769
- const paymentRulesContainer = "_paymentRulesContainer_pybf6_190";
126770
- const paymentRulesDesc = "_paymentRulesDesc_pybf6_196";
126750
+ const mainConatiner = "_mainConatiner_e3rsf_64";
126751
+ const header$1 = "_header_e3rsf_77";
126752
+ const sectionCard = "_sectionCard_e3rsf_96";
126753
+ const cardHeader = "_cardHeader_e3rsf_100";
126754
+ const cardTitle = "_cardTitle_e3rsf_103";
126755
+ const cardDesc = "_cardDesc_e3rsf_107";
126756
+ const cardBody = "_cardBody_e3rsf_111";
126757
+ const cardFooter = "_cardFooter_e3rsf_115";
126758
+ const cardFooterContent = "_cardFooterContent_e3rsf_115";
126759
+ const sectionManagement = "_sectionManagement_e3rsf_127";
126760
+ const sectionFormRow = "_sectionFormRow_e3rsf_127";
126761
+ const drawerContent = "_drawerContent_e3rsf_134";
126762
+ const scrollableForm = "_scrollableForm_e3rsf_139";
126763
+ const fixedActions = "_fixedActions_e3rsf_145";
126764
+ const specialDatesInfoText = "_specialDatesInfoText_e3rsf_154";
126765
+ const deleteIcon = "_deleteIcon_e3rsf_168";
126766
+ const stripeConnectContainer = "_stripeConnectContainer_e3rsf_173";
126767
+ const paymentGatewayContainer = "_paymentGatewayContainer_e3rsf_181";
126768
+ const paymentRules = "_paymentRules_e3rsf_187";
126769
+ const paymentRulesContainer = "_paymentRulesContainer_e3rsf_192";
126770
+ const paymentRulesDesc = "_paymentRulesDesc_e3rsf_198";
126771
126771
  const styles$6 = {
126772
- "my-masonry-grid": "_my-masonry-grid_pybf6_42",
126773
- "my-masonry-grid_column": "_my-masonry-grid_column_pybf6_53",
126772
+ "my-masonry-grid": "_my-masonry-grid_e3rsf_42",
126773
+ "my-masonry-grid_column": "_my-masonry-grid_column_e3rsf_53",
126774
126774
  mainConatiner,
126775
126775
  header: header$1,
126776
126776
  sectionCard,
@@ -129696,7 +129696,7 @@ const PaymentsEditDrawer = ({
129696
129696
  } else {
129697
129697
  reset(defaultValue2);
129698
129698
  }
129699
- }, [shiftsData, paymentDefinitionData]);
129699
+ }, [shiftsData, paymentDefinitionData, paymentGatewayData]);
129700
129700
  return /* @__PURE__ */ jsxs(Drawer, {
129701
129701
  isOpen,
129702
129702
  onClose: () => setIsOpen(false),
@@ -129981,7 +129981,6 @@ function Main({
129981
129981
  } = useTranslation();
129982
129982
  const [currentVenue, setCurrentVenue] = useState(null);
129983
129983
  const [canEdit, setCanEdit] = useState(false);
129984
- console.log(config$1.env, "LOL");
129985
129984
  const {
129986
129985
  data: data2,
129987
129986
  reload
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mozrest-sdk-react-dev",
3
- "version": "0.3.14",
3
+ "version": "0.3.16",
4
4
  "main": "mozrest-sdk.es.js",
5
5
  "keywords": [
6
6
  "mozrest"
package/style.css CHANGED
@@ -305,6 +305,7 @@
305
305
  --moz-input-filled: #e8e5e5;
306
306
  --moz-input-default: #787676;
307
307
  --moz-input-border: #cccccc;
308
+ --moz-input-scheme: light;
308
309
  --moz-state-active: #1e155a;
309
310
  --moz-state-error: #f83d32;
310
311
  --moz-state-disabled: gray;
@@ -1517,14 +1518,14 @@
1517
1518
  :root {
1518
1519
  --litepicker-day-width: 35px;
1519
1520
  }
1520
- }._inputWrapper_1vi07_1 {
1521
+ }._inputWrapper_1i9tl_1 {
1521
1522
  position: relative;
1522
1523
  display: flex;
1523
1524
  align-items: center;
1524
1525
  width: 100%;
1525
1526
  }
1526
1527
 
1527
- ._input_1vi07_1 {
1528
+ ._input_1i9tl_1 {
1528
1529
  flex: 1;
1529
1530
  font: var(--moz-font-weight-input) var(--moz-font-size-input)/var(--moz-line-height-input) var(--moz-font-family-input);
1530
1531
  padding: 0.75rem 0.75rem;
@@ -1532,66 +1533,66 @@
1532
1533
  border: none;
1533
1534
  border-bottom: 1px solid var(--moz-input-border);
1534
1535
  color: var(--moz-text-input);
1535
- color-scheme: light;
1536
+ color-scheme: var(--moz-input-scheme);
1536
1537
  border-radius: 0;
1537
1538
  max-width: 100%;
1538
1539
  width: auto;
1539
1540
  box-sizing: border-box;
1540
1541
  }
1541
- ._input_1vi07_1:focus {
1542
+ ._input_1i9tl_1:focus {
1542
1543
  outline: none;
1543
1544
  box-shadow: 0 0 5px var(--moz-input-border);
1544
1545
  }
1545
- ._input_1vi07_1:disabled {
1546
+ ._input_1i9tl_1:disabled {
1546
1547
  color: var(--moz-bg-gray);
1547
1548
  background: var(--moz-input-disabled);
1548
1549
  }
1549
- ._input_1vi07_1[type=number] {
1550
+ ._input_1i9tl_1[type=number] {
1550
1551
  appearance: textfield;
1551
1552
  }
1552
- ._input_1vi07_1[type=number]::-webkit-outer-spin-button, ._input_1vi07_1[type=number]::-webkit-inner-spin-button {
1553
+ ._input_1i9tl_1[type=number]::-webkit-outer-spin-button, ._input_1i9tl_1[type=number]::-webkit-inner-spin-button {
1553
1554
  margin: 0;
1554
1555
  appearance: none;
1555
1556
  }
1556
- ._input--r-md_1vi07_37 {
1557
+ ._input--r-md_1i9tl_37 {
1557
1558
  border-radius: 8px;
1558
1559
  border-bottom-left-radius: 0;
1559
1560
  border-bottom-right-radius: 0;
1560
1561
  }
1561
- ._input--r-sm_1vi07_42 {
1562
+ ._input--r-sm_1i9tl_42 {
1562
1563
  border-radius: 2px;
1563
1564
  border-bottom-left-radius: 0;
1564
1565
  border-bottom-right-radius: 0;
1565
1566
  }
1566
- ._input--with-icon-left_1vi07_47 {
1567
+ ._input--with-icon-left_1i9tl_47 {
1567
1568
  padding-left: 2rem;
1568
1569
  }
1569
- ._input--with-icon-right_1vi07_50 {
1570
+ ._input--with-icon-right_1i9tl_50 {
1570
1571
  padding-right: 2rem;
1571
1572
  }
1572
- ._input--filled_1vi07_53 {
1573
+ ._input--filled_1i9tl_53 {
1573
1574
  background: var(--moz-input-filled);
1574
1575
  }
1575
- ._input--borderless_1vi07_56 {
1576
+ ._input--borderless_1i9tl_56 {
1576
1577
  border: none;
1577
1578
  border-bottom: none;
1578
1579
  }
1579
- ._input--rounded_1vi07_60 {
1580
+ ._input--rounded_1i9tl_60 {
1580
1581
  border-bottom-left-radius: 8px;
1581
1582
  border-bottom-right-radius: 8px;
1582
1583
  }
1583
- ._input_1vi07_1::placeholder {
1584
+ ._input_1i9tl_1::placeholder {
1584
1585
  color: var(--moz-text-input);
1585
1586
  opacity: 1;
1586
1587
  }
1587
- ._input_1vi07_1:-ms-input-placeholder {
1588
+ ._input_1i9tl_1:-ms-input-placeholder {
1588
1589
  color: var(--moz-text-input);
1589
1590
  }
1590
- ._input_1vi07_1::-ms-input-placeholder {
1591
+ ._input_1i9tl_1::-ms-input-placeholder {
1591
1592
  color: var(--moz-text-input);
1592
1593
  }
1593
1594
 
1594
- ._inputIcon_1vi07_75 {
1595
+ ._inputIcon_1i9tl_75 {
1595
1596
  position: absolute;
1596
1597
  pointer-events: none;
1597
1598
  display: flex;
@@ -1600,10 +1601,10 @@
1600
1601
  top: 50%;
1601
1602
  transform: translateY(-50%);
1602
1603
  }
1603
- ._inputIcon--p-left_1vi07_84 {
1604
+ ._inputIcon--p-left_1i9tl_84 {
1604
1605
  left: 0.5rem;
1605
1606
  }
1606
- ._inputIcon--p-right_1vi07_87 {
1607
+ ._inputIcon--p-right_1i9tl_87 {
1607
1608
  right: 0.5rem;
1608
1609
  }._filterButton_c0yjo_1 {
1609
1610
  display: flex;
@@ -31022,7 +31023,7 @@ hr {
31022
31023
  border: 0;
31023
31024
  border-top: 2px solid #42465a;
31024
31025
  }
31025
- ._my-masonry-grid_pybf6_42 {
31026
+ ._my-masonry-grid_e3rsf_42 {
31026
31027
  display: -webkit-box;
31027
31028
  /* Not needed if autoprefixing */
31028
31029
  display: -ms-flexbox;
@@ -31032,16 +31033,16 @@ hr {
31032
31033
  /* gutter size offset */
31033
31034
  width: auto;
31034
31035
  }
31035
- ._my-masonry-grid_column_pybf6_53 {
31036
+ ._my-masonry-grid_column_e3rsf_53 {
31036
31037
  padding-left: 40px;
31037
31038
  /* gutter size */
31038
31039
  background-clip: padding-box;
31039
31040
  }
31040
- ._my-masonry-grid_column_pybf6_53 > div {
31041
+ ._my-masonry-grid_column_e3rsf_53 > div {
31041
31042
  /* change div to reference your elements you put in <Masonry> */
31042
31043
  margin-bottom: 40px;
31043
31044
  }
31044
- ._mainConatiner_pybf6_64 {
31045
+ ._mainConatiner_e3rsf_64 {
31045
31046
  color: var(--moz-text-primary);
31046
31047
  height: 100vh;
31047
31048
  max-height: 100vh;
@@ -31051,14 +31052,16 @@ hr {
31051
31052
  background-color: var(--moz-cta-body-bg);
31052
31053
  overflow: hidden;
31053
31054
  overflow-y: auto;
31055
+ padding-left: 10px;
31056
+ padding-right: 10px;
31054
31057
  }
31055
- ._mainConatiner_pybf6_64 ._header_pybf6_75 {
31058
+ ._mainConatiner_e3rsf_64 ._header_e3rsf_77 {
31056
31059
  display: flex;
31057
31060
  justify-content: flex-start;
31058
31061
  align-items: center;
31059
31062
  padding: 1.25rem;
31060
31063
  }
31061
- ._mainConatiner_pybf6_64 ._content_pybf6_81 {
31064
+ ._mainConatiner_e3rsf_64 ._content_e3rsf_83 {
31062
31065
  display: flex;
31063
31066
  justify-content: center;
31064
31067
  align-items: flex-start;
@@ -31066,29 +31069,29 @@ hr {
31066
31069
  padding: 1.5rem;
31067
31070
  overflow-y: auto;
31068
31071
  }
31069
- ._textSecondary_pybf6_90 {
31072
+ ._textSecondary_e3rsf_92 {
31070
31073
  color: var(--moz-text-secondary);
31071
31074
  }
31072
- ._sectionCard_pybf6_94 {
31075
+ ._sectionCard_e3rsf_96 {
31073
31076
  padding: 0;
31074
31077
  background-color: var(--moz-cta-content-bg);
31075
31078
  }
31076
- ._sectionCard_pybf6_94 ._cardHeader_pybf6_98 {
31079
+ ._sectionCard_e3rsf_96 ._cardHeader_e3rsf_100 {
31077
31080
  padding: 1.5rem;
31078
31081
  }
31079
- ._sectionCard_pybf6_94 ._cardHeader_pybf6_98 ._cardTitle_pybf6_101 {
31082
+ ._sectionCard_e3rsf_96 ._cardHeader_e3rsf_100 ._cardTitle_e3rsf_103 {
31080
31083
  font-size: 18px;
31081
31084
  color: var(--moz-text-label);
31082
31085
  }
31083
- ._sectionCard_pybf6_94 ._cardHeader_pybf6_98 ._cardDesc_pybf6_105 {
31086
+ ._sectionCard_e3rsf_96 ._cardHeader_e3rsf_100 ._cardDesc_e3rsf_107 {
31084
31087
  font-size: 14px;
31085
31088
  color: var(--moz-text-secondary);
31086
31089
  }
31087
- ._sectionCard_pybf6_94 ._cardBody_pybf6_109 {
31090
+ ._sectionCard_e3rsf_96 ._cardBody_e3rsf_111 {
31088
31091
  padding: 1.5rem;
31089
31092
  color: var(--moz-text-label);
31090
31093
  }
31091
- ._sectionCard_pybf6_94 ._cardFooter_pybf6_113 ._cardFooterContent_pybf6_113 {
31094
+ ._sectionCard_e3rsf_96 ._cardFooter_e3rsf_115 ._cardFooterContent_e3rsf_115 {
31092
31095
  padding: 0.5rem;
31093
31096
  display: flex;
31094
31097
  justify-content: center;
@@ -31099,25 +31102,25 @@ hr {
31099
31102
  color: var(--moz-text-secondary);
31100
31103
  cursor: pointer;
31101
31104
  }
31102
- ._sectionManagement_pybf6_125 ._sectionFormRow_pybf6_125 {
31105
+ ._sectionManagement_e3rsf_127 ._sectionFormRow_e3rsf_127 {
31103
31106
  display: flex;
31104
31107
  gap: 0.75rem;
31105
31108
  padding: 1.5rem;
31106
31109
  justify-content: center;
31107
31110
  align-items: center;
31108
31111
  }
31109
- ._sectionManagement_pybf6_125 ._drawerContent_pybf6_132 {
31112
+ ._sectionManagement_e3rsf_127 ._drawerContent_e3rsf_134 {
31110
31113
  display: flex;
31111
31114
  flex-direction: column;
31112
31115
  height: 100%;
31113
31116
  }
31114
- ._sectionManagement_pybf6_125 ._scrollableForm_pybf6_137 {
31117
+ ._sectionManagement_e3rsf_127 ._scrollableForm_e3rsf_139 {
31115
31118
  flex: 1;
31116
31119
  overflow-y: auto;
31117
31120
  padding-top: 0px;
31118
31121
  padding: 20px;
31119
31122
  }
31120
- ._sectionManagement_pybf6_125 ._fixedActions_pybf6_143 {
31123
+ ._sectionManagement_e3rsf_127 ._fixedActions_e3rsf_145 {
31121
31124
  display: flex;
31122
31125
  justify-content: flex-end;
31123
31126
  gap: 10px;
@@ -31125,46 +31128,46 @@ hr {
31125
31128
  padding-bottom: 5px;
31126
31129
  border-top: 1px solid var(--moz-text-tertiary);
31127
31130
  }
31128
- ._specialDatesInfoText_pybf6_152 {
31131
+ ._specialDatesInfoText_e3rsf_154 {
31129
31132
  color: var(--moz-text-secondary);
31130
31133
  font-size: 14px;
31131
31134
  padding: 5px;
31132
31135
  padding-top: 0;
31133
31136
  padding-bottom: 0;
31134
31137
  }
31135
- ._closeIcon_pybf6_160 {
31138
+ ._closeIcon_e3rsf_162 {
31136
31139
  color: var(--moz-text-primary);
31137
31140
  cursor: "pointer";
31138
31141
  margin-top: 20;
31139
31142
  }
31140
- ._deleteIcon_pybf6_166 {
31143
+ ._deleteIcon_e3rsf_168 {
31141
31144
  color: var(--moz-cta-danger);
31142
31145
  cursor: "pointer";
31143
31146
  }
31144
- ._stripeConnectContainer_pybf6_171 {
31147
+ ._stripeConnectContainer_e3rsf_173 {
31145
31148
  margin-bottom: 20px;
31146
31149
  display: flex;
31147
31150
  justify-content: flex-start;
31148
31151
  align-items: center;
31149
31152
  gap: 20px;
31150
31153
  }
31151
- ._paymentGatewayContainer_pybf6_179 {
31154
+ ._paymentGatewayContainer_e3rsf_181 {
31152
31155
  display: flex;
31153
31156
  flex-direction: column;
31154
31157
  gap: 30px;
31155
31158
  margin-bottom: 30px;
31156
31159
  }
31157
- ._paymentGatewayContainer_pybf6_179 ._paymentRules_pybf6_185 {
31160
+ ._paymentGatewayContainer_e3rsf_181 ._paymentRules_e3rsf_187 {
31158
31161
  display: flex;
31159
31162
  flex-direction: column;
31160
31163
  gap: 20px;
31161
31164
  }
31162
- ._paymentGatewayContainer_pybf6_179 ._paymentRules_pybf6_185 ._paymentRulesContainer_pybf6_190 {
31165
+ ._paymentGatewayContainer_e3rsf_181 ._paymentRules_e3rsf_187 ._paymentRulesContainer_e3rsf_192 {
31163
31166
  display: flex;
31164
31167
  flex-direction: row;
31165
31168
  gap: 10px;
31166
31169
  }
31167
- ._paymentRulesDesc_pybf6_196 {
31170
+ ._paymentRulesDesc_e3rsf_198 {
31168
31171
  max-width: 600px;
31169
31172
  color: var(--moz-text-secondary);
31170
31173
  font-size: 14px;