bok-reader 0.6.2 → 0.6.3

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/bok.es.js CHANGED
@@ -3965,23 +3965,23 @@ function se(E, t) {
3965
3965
  closeMenu: v
3966
3966
  }, s[5] = v, s[6] = h, s[7] = l, s[8] = i) : i = s[8], i;
3967
3967
  }
3968
- const cn = "_visible_suft4_34 _panelVisible_dwzj9_60", un = "_title_suft4_51", hn = "_select_suft4_171", Et = {
3969
- "options-menu-overlay": "_options-menu-overlay_suft4_1 _overlay_dwzj9_1",
3970
- "fade-out": "_fade-out_suft4_7 _overlayFadeOut_dwzj9_34",
3971
- "options-menu": "_options-menu_suft4_1 _panel_dwzj9_43",
3968
+ const cn = "_visible_1jroe_32 _panelVisible_dwzj9_60", un = "_title_1jroe_49", hn = "_select_1jroe_169", Et = {
3969
+ "options-menu-overlay": "_options-menu-overlay_1jroe_1 _overlay_dwzj9_1",
3970
+ "fade-out": "_fade-out_1jroe_7 _overlayFadeOut_dwzj9_34",
3971
+ "options-menu": "_options-menu_1jroe_1 _panel_dwzj9_43",
3972
3972
  visible: cn,
3973
- "slide-down": "_slide-down_suft4_38 _panelSlideDown_dwzj9_66",
3973
+ "slide-down": "_slide-down_1jroe_36 _panelSlideDown_dwzj9_66",
3974
3974
  title: un,
3975
- "close-button": "_close-button_suft4_60",
3976
- "options-buttons": "_options-buttons_suft4_89",
3977
- "option-row": "_option-row_suft4_95",
3978
- "option-label": "_option-label_suft4_107",
3979
- "option-controls": "_option-controls_suft4_115",
3980
- "stepper-button": "_stepper-button_suft4_121",
3981
- "option-value": "_option-value_suft4_149",
3982
- "value-changed": "_value-changed_suft4_166",
3975
+ "close-button": "_close-button_1jroe_58",
3976
+ "options-buttons": "_options-buttons_1jroe_87",
3977
+ "option-row": "_option-row_1jroe_93",
3978
+ "option-label": "_option-label_1jroe_105",
3979
+ "option-controls": "_option-controls_1jroe_113",
3980
+ "stepper-button": "_stepper-button_1jroe_119",
3981
+ "option-value": "_option-value_1jroe_147",
3982
+ "value-changed": "_value-changed_1jroe_164",
3983
3983
  select: hn,
3984
- "fullscreen-button": "_fullscreen-button_suft4_200"
3984
+ "fullscreen-button": "_fullscreen-button_1jroe_221"
3985
3985
  };
3986
3986
  function dn(E) {
3987
3987
  const t = Bt.c(90), {
@@ -4177,24 +4177,24 @@ function yn(E) {
4177
4177
  function vn(E) {
4178
4178
  E.stopPropagation();
4179
4179
  }
4180
- const wn = "_visible_1w75l_36 _panelVisible_dwzj9_60", zt = {
4181
- "nav-menu-overlay": "_nav-menu-overlay_1w75l_1 _overlay_dwzj9_1",
4182
- "fade-out": "_fade-out_1w75l_7 _overlayFadeOut_dwzj9_34",
4183
- "nav-menu": "_nav-menu_1w75l_1 _panel_dwzj9_43",
4180
+ const wn = "_visible_1ieui_31 _panelVisible_dwzj9_60", zt = {
4181
+ "nav-menu-overlay": "_nav-menu-overlay_1ieui_1 _overlay_dwzj9_1",
4182
+ "fade-out": "_fade-out_1ieui_7 _overlayFadeOut_dwzj9_34",
4183
+ "nav-menu": "_nav-menu_1ieui_1 _panel_dwzj9_43",
4184
4184
  visible: wn,
4185
- "slide-down": "_slide-down_1w75l_40 _panelSlideDown_dwzj9_66",
4186
- "nav-header": "_nav-header_1w75l_47",
4187
- "close-btn": "_close-btn_1w75l_62",
4188
- "toc-container": "_toc-container_1w75l_74",
4189
- "toc-list": "_toc-list_1w75l_82",
4190
- "toc-item": "_toc-item_1w75l_88",
4191
- "toc-page-num": "_toc-page-num_1w75l_108",
4192
- "toc-sublist": "_toc-sublist_1w75l_115",
4193
- "page-jumper": "_page-jumper_1w75l_125",
4194
- "jumper-controls": "_jumper-controls_1w75l_134",
4195
- "jumper-input": "_jumper-input_1w75l_141",
4196
- "total-pages": "_total-pages_1w75l_164",
4197
- "go-btn": "_go-btn_1w75l_170"
4185
+ "slide-down": "_slide-down_1ieui_35 _panelSlideDown_dwzj9_66",
4186
+ "nav-header": "_nav-header_1ieui_42",
4187
+ "close-button": "_close-button_1ieui_57",
4188
+ "toc-container": "_toc-container_1ieui_85",
4189
+ "toc-list": "_toc-list_1ieui_93",
4190
+ "toc-item": "_toc-item_1ieui_99",
4191
+ "toc-page-num": "_toc-page-num_1ieui_119",
4192
+ "toc-sublist": "_toc-sublist_1ieui_126",
4193
+ "page-jumper": "_page-jumper_1ieui_136",
4194
+ "jumper-controls": "_jumper-controls_1ieui_145",
4195
+ "jumper-input": "_jumper-input_1ieui_152",
4196
+ "total-pages": "_total-pages_1ieui_175",
4197
+ "go-btn": "_go-btn_1ieui_181"
4198
4198
  }, kn = (E) => {
4199
4199
  const t = Bt.c(57), {
4200
4200
  toc: s,
@@ -4268,7 +4268,7 @@ const wn = "_visible_1w75l_36 _panelVisible_dwzj9_60", zt = {
4268
4268
  let Z;
4269
4269
  t[27] === Symbol.for("react.memo_cache_sentinel") ? (Z = /* @__PURE__ */ Q("h2", { children: "Table of Contents" }), t[27] = Z) : Z = t[27], t[28] !== y ? (H = /* @__PURE__ */ vt("div", { className: zt["nav-header"], children: [
4270
4270
  Z,
4271
- /* @__PURE__ */ Q("button", { className: zt["close-btn"], onClick: y, children: "×" })
4271
+ /* @__PURE__ */ Q("button", { onClick: y, className: zt["close-button"], "aria-label": "Close menu", children: "" })
4272
4272
  ] }), t[28] = y, t[29] = H) : H = t[29], L = zt["toc-container"], n = s.length > 0 ? Y(s) : /* @__PURE__ */ Q("div", { style: {
4273
4273
  padding: "20px",
4274
4274
  textAlign: "center",
@@ -4312,31 +4312,31 @@ function Cn(E) {
4312
4312
  function xn(E) {
4313
4313
  return E.currentTarget.select();
4314
4314
  }
4315
- const Sn = "_visible_12xl7_30 _panelVisible_dwzj9_60", It = {
4316
- "highlights-overlay": "_highlights-overlay_12xl7_1 _overlay_dwzj9_1",
4317
- "fade-out": "_fade-out_12xl7_5 _overlayFadeOut_dwzj9_34",
4318
- "highlights-menu": "_highlights-menu_12xl7_9 _panel_dwzj9_43",
4315
+ const Sn = "_visible_a6x9u_26 _panelVisible_dwzj9_60", It = {
4316
+ "highlights-overlay": "_highlights-overlay_a6x9u_1 _overlay_dwzj9_1",
4317
+ "fade-out": "_fade-out_a6x9u_5 _overlayFadeOut_dwzj9_34",
4318
+ "highlights-menu": "_highlights-menu_a6x9u_9 _panel_dwzj9_43",
4319
4319
  visible: Sn,
4320
- "slide-down": "_slide-down_12xl7_34 _panelSlideDown_dwzj9_66",
4321
- "highlights-header": "_highlights-header_12xl7_47",
4322
- "close-btn": "_close-btn_12xl7_62",
4323
- "highlights-container": "_highlights-container_12xl7_76",
4324
- "highlight-list": "_highlight-list_12xl7_84",
4325
- "highlight-item": "_highlight-item_12xl7_90",
4326
- "highlight-row": "_highlight-row_12xl7_94",
4327
- "highlight-label": "_highlight-label_12xl7_111",
4328
- "highlight-meta": "_highlight-meta_12xl7_116",
4329
- "highlight-color": "_highlight-color_12xl7_123",
4330
- "highlight-color--yellow": "_highlight-color--yellow_12xl7_130",
4331
- "highlight-color--red": "_highlight-color--red_12xl7_134",
4332
- "highlight-color--blue": "_highlight-color--blue_12xl7_138",
4333
- "highlight-color--purple": "_highlight-color--purple_12xl7_142",
4334
- "highlight-page-num": "_highlight-page-num_12xl7_146",
4335
- "actions-toggle": "_actions-toggle_12xl7_153",
4336
- "highlight-actions": "_highlight-actions_12xl7_167",
4337
- "highlight-swatch-row": "_highlight-swatch-row_12xl7_174",
4338
- "highlight-action-row": "_highlight-action-row_12xl7_179",
4339
- "empty-state": "_empty-state_12xl7_184"
4320
+ "slide-down": "_slide-down_a6x9u_30 _panelSlideDown_dwzj9_66",
4321
+ "highlights-header": "_highlights-header_a6x9u_43",
4322
+ "close-button": "_close-button_a6x9u_58",
4323
+ "highlights-container": "_highlights-container_a6x9u_85",
4324
+ "highlight-list": "_highlight-list_a6x9u_93",
4325
+ "highlight-item": "_highlight-item_a6x9u_99",
4326
+ "highlight-row": "_highlight-row_a6x9u_103",
4327
+ "highlight-label": "_highlight-label_a6x9u_120",
4328
+ "highlight-meta": "_highlight-meta_a6x9u_125",
4329
+ "highlight-color": "_highlight-color_a6x9u_132",
4330
+ "highlight-color--yellow": "_highlight-color--yellow_a6x9u_139",
4331
+ "highlight-color--red": "_highlight-color--red_a6x9u_143",
4332
+ "highlight-color--blue": "_highlight-color--blue_a6x9u_147",
4333
+ "highlight-color--purple": "_highlight-color--purple_a6x9u_151",
4334
+ "highlight-page-num": "_highlight-page-num_a6x9u_155",
4335
+ "actions-toggle": "_actions-toggle_a6x9u_162",
4336
+ "highlight-actions": "_highlight-actions_a6x9u_176",
4337
+ "highlight-swatch-row": "_highlight-swatch-row_a6x9u_183",
4338
+ "highlight-action-row": "_highlight-action-row_a6x9u_188",
4339
+ "empty-state": "_empty-state_a6x9u_193"
4340
4340
  }, En = ["yellow", "red", "blue", "purple"], An = ({
4341
4341
  highlights: E,
4342
4342
  onClose: t,
@@ -4436,7 +4436,7 @@ const Sn = "_visible_12xl7_30 _panelVisible_dwzj9_60", It = {
4436
4436
  `, onClick: (k) => k.stopPropagation(), children: [
4437
4437
  /* @__PURE__ */ vt("div", { className: It["highlights-header"], children: [
4438
4438
  /* @__PURE__ */ Q("h2", { children: "Highlights" }),
4439
- /* @__PURE__ */ Q("button", { className: It["close-btn"], onClick: r, children: "×" })
4439
+ /* @__PURE__ */ Q("button", { onClick: r, className: It["close-button"], "aria-label": "Close menu", children: "" })
4440
4440
  ] }),
4441
4441
  /* @__PURE__ */ Q("div", { className: It["highlights-container"], children: E.length > 0 ? A() : /* @__PURE__ */ Q("div", { className: It["empty-state"], children: "No highlights yet" }) })
4442
4442
  ] }),